mall-order:修复 todo 提到的问题

This commit is contained in:
puhui999
2023-09-09 20:51:33 +08:00
parent a79f1452b3
commit 7e511d1e4f
4 changed files with 8 additions and 12 deletions

View File

@ -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
}
},