This commit is contained in:
OrangeM21 2020-06-17 16:47:42 +08:00
commit ea7c16bdce

View File

@ -45,9 +45,9 @@ export default {
vm.$axios.patch(url, data).catch(() => { vm.$axios.patch(url, data).catch(() => {
item.attrs.model = !v item.attrs.model = !v
}).then(res => { }).then(res => {
this.$message.success(this.$t('common.updateSuccessMsg')) vm.$message.success(vm.$t('common.updateSuccessMsg'))
}).catch(err => { }).catch(err => {
this.$message.error(this.$t('common.updateErrorMsg' + ' ' + err)) vm.$message.error(vm.$t('common.updateErrorMsg' + ' ' + err))
}) })
} }
} }