diff --git a/src/components/rightBox/settings/I18nBox.vue b/src/components/rightBox/settings/I18nBox.vue index efe410a1..5ea74846 100644 --- a/src/components/rightBox/settings/I18nBox.vue +++ b/src/components/rightBox/settings/I18nBox.vue @@ -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 {