fix: 修复i18n创建/修改国际化时报错未提示的问题

This commit is contained in:
刘洪洪
2023-09-25 11:21:23 +08:00
parent e19a179b6e
commit 85bf0c7137

View File

@@ -112,6 +112,9 @@ export default {
} else {
this.$message.error(res.data.message)
}
}).catch(e => {
this.blockOperation.save = false
this.$message.error(this.errorMsgHandler(e))
})
} else {
axios.post(this.url, this.editObject).then(res => {
@@ -122,6 +125,9 @@ export default {
} else {
this.$message.error(res.data.message)
}
}).catch(e => {
this.blockOperation.save = false
this.$message.error(this.errorMsgHandler(e))
})
}
} else {