no message
Former-commit-id: 07cf3bfbbd524a7cba0d122298f8c841010a4e55 Former-commit-id: c900623564b914d9db47b14633ba79e258142db7 Former-commit-id: 2cffd03327ce8647045ddb5073d7752bbbdba533
This commit is contained in:
@@ -4,7 +4,7 @@ import axios from 'axios'
|
||||
|
||||
axios.interceptors.response.use(res => {
|
||||
// 在这里对返回的数据进行处理
|
||||
if (res.data.code) {
|
||||
if (res.data.code !== undefined) {
|
||||
if (res.data.code !== 0) {
|
||||
Message.error(res.data.msg)
|
||||
return Promise.reject(res.data.msg)
|
||||
|
||||
Reference in New Issue
Block a user