完善订单详情和售后退款 TODO 提到的问题
This commit is contained in:
@ -191,6 +191,10 @@ service.interceptors.response.use(
|
||||
}
|
||||
return Promise.reject('error')
|
||||
} else {
|
||||
// 前端处理 data 为 null 的情况,进行提示
|
||||
if (data.msg !== '') {
|
||||
ElNotification.error({ title: msg })
|
||||
}
|
||||
return data
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user