完善订单详情和售后退款 TODO 提到的问题

This commit is contained in:
puhui999
2023-09-06 11:23:16 +08:00
parent 46fd154e3a
commit 73628d3930
7 changed files with 55 additions and 38 deletions

View File

@ -191,6 +191,10 @@ service.interceptors.response.use(
}
return Promise.reject('error')
} else {
// 前端处理 data 为 null 的情况,进行提示
if (data.msg !== '') {
ElNotification.error({ title: msg })
}
return data
}
},