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

@@ -195,7 +195,8 @@ const getDetail = async () => {
if (id) {
const res = await AfterSaleApi.getAfterSale(id)
// 没有表单信息则关闭页面返回
if (res === null) {
if (res == null) {
message.notifyError('售后订单不存在')
close()
}
formData.value = res