Commit 729e400f authored by 李苏's avatar 李苏 💬

过滤code1

parent aad2617c
...@@ -87,7 +87,7 @@ service.interceptors.response.use(res => { ...@@ -87,7 +87,7 @@ service.interceptors.response.use(res => {
type: 'error' type: 'error'
}) })
return Promise.reject(new Error(msg)) return Promise.reject(new Error(msg))
} else if (code !== 200) { } else if (code !== 200&&code!=1) {
Notification.error({ Notification.error({
title: msg title: msg
}) })
......
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