mall-order:修复 todo 提到的问题
This commit is contained in:
@ -191,11 +191,6 @@ service.interceptors.response.use(
|
||||
}
|
||||
return Promise.reject('error')
|
||||
} else {
|
||||
// TODO @puhui999:这个先不用支持哈;
|
||||
// 前端处理 data 为 null 的情况,进行提示
|
||||
if (data.msg !== '') {
|
||||
ElNotification.error({ title: msg })
|
||||
}
|
||||
return data
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user