提交 fdc2027b 编写于 作者: chengxiang.li's avatar chengxiang.li

update

上级 7dd33919
import fetch from '@/utils/fetch' import fetch from '@/utils/fetch'
import { getBaseUrl, getReportUrl, getWorkApi } from '@/utils/index' import { getBaseUrl, getReportUrl, getWorkApi } from '@/utils/index'
import { CryptoJS } from '@/plugins/aes' import { CryptoJS } from '@/plugins/aes'
import { JSEncrypt } from 'jsencrypt' import 'jsencrypt'
import { getPubKey } from '@/utils/account/accountApi'; import { getPubKey } from '@/utils/account/accountApi';
...@@ -56,8 +56,8 @@ module.exports = { ...@@ -56,8 +56,8 @@ module.exports = {
cb && cb(params); cb && cb(params);
} }
}else{ }else{
that.$message({ this.$message({
message: (data && data.message) || '接口出错', message: (res && res.message) || '接口出错',
type: 'warning' type: 'warning'
}); });
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册