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

@@ -171,7 +171,7 @@ export default {
this.loadMarkerData(imageSeries, mapData)
}).catch((e) => {
this.showError = true
this.errorMsg = e.message
this.errorMsg = this.errorMsgHandler(e)
})
} else {
imageSeries.data = [{}]
@@ -185,7 +185,7 @@ export default {
} catch (e) {
this.showError = true
// todo 此处错误信息有待考证,后续可能会改动
this.errorMsg = e
this.errorMsg = this.errorMsgHandler(e)
console.error(e)
}
},