CN-749 fix: 统一error交互

This commit is contained in:
刘洪洪
2023-03-22 10:20:22 +08:00
parent a8c8a8b6dc
commit 8dd50b9c99
18 changed files with 30 additions and 30 deletions

View File

@@ -176,7 +176,7 @@ export default {
} else {
this.isNoData = false
this.showError = true
this.errorMsg = this.errorMsgHandler(res.message)
this.errorMsg = this.errorMsgHandler(res)
}
}).catch(e => {
this.isNoData = false
@@ -200,7 +200,7 @@ export default {
} else {
this.isNoData = false
this.showError = true
this.errorMsg = this.errorMsgHandler(res.message)
this.errorMsg = this.errorMsgHandler(res)
}
})
this.showError = false