Commit 737dc12b authored by XieZhiXiong's avatar XieZhiXiong

Merge branch 'v2-220418-1' of…

Merge branch 'v2-220418-1' of ssh://gitlab.shushangyun.com:8122/linkseeks-design/pro-platform into feat-v2-220418-1-member
parents cbf3966e e8a36b5e
......@@ -141,6 +141,14 @@ class ApiRequest {
return false
}
// 统一拦截 参数校验错误,显示后端返回的状态信息
// @todo 这里不需要国际化
if (res.code === 1102) {
message.error(res.message)
reject(res)
return false
}
if (res.code === 1000) {
if (options.ctlType === 'message') {
message.destroy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment