CN-749 fix: 统一error交互
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user