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

@@ -248,7 +248,7 @@ export default {
} else {
this.linkNoData = false
this.showError1 = true
this.errorMsg1 = res[0].message
this.errorMsg1 = this.errorMsgHandler(res[0])
}
if (res[1].code === 200) {
@@ -311,7 +311,7 @@ export default {
} else {
this.showError2 = true
this.nextHopNoData = false
this.errorMsg2 = res[1].message
this.errorMsg2 = this.errorMsgHandler(res[1])
}
}
}).catch(e => {