|
@@ -56,7 +56,7 @@ service.interceptors.response.use(
|
|
|
|
|
|
// 对Code不等于Success进行message提示
|
|
|
if (data.code !== CONSTS.RET_CODE.SUCCESS) {
|
|
|
- message.error(JSON.stringify(data.msg))
|
|
|
+ message.error(data.msg)
|
|
|
if (consts.TOKEN_INVALID_CODE.includes(data.code)) {
|
|
|
userStore.logout()
|
|
|
}
|