fix: 将之前报错提示的msg改为message

This commit is contained in:
刘洪洪
2022-11-28 18:29:46 +08:00
parent 2b3e5ca360
commit 4cc7891008
6 changed files with 8 additions and 14 deletions

View File

@@ -225,18 +225,16 @@ export default {
} else {
this.isLinkNoData = false
this.isNextShowError = true
// todo 此时返回的是msg后期记得改为message
this.nextErrorMsg = res[1].msg
this.nextErrorMsg = res[1].message
}
}).catch(e => {
console.error(e)
this.isLinkShowError = true
// todo 此时返回的是msg后期记得改为message
this.linkErrorMsg = e[0].msg
this.linkErrorMsg = e[0].message
this.isNextShowError = true
this.nextErrorMsg = e[1].msg
this.nextErrorMsg = e[1].message
}).finally(() => {
this.toggleLoading(false)
})