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

@@ -143,7 +143,7 @@ export default {
} else {
this.isLinkNoData = false
this.isLinkShowError = true
this.linkErrorMsg = res[0].message
this.linkErrorMsg = this.errorMsgHandler(res[0])
}
if (res[1].code === 200) {
@@ -232,7 +232,7 @@ export default {
} else {
this.isNextNoData = false
this.isNextShowError = true
this.nextErrorMsg = res[1].message
this.nextErrorMsg = this.errorMsgHandler(res[1])
}
}
}).finally(() => {