mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: 修改账号列表更新表单错误提示
This commit is contained in:
@@ -64,8 +64,9 @@ export default {
|
||||
this.$emit('updateAuthDone', res)
|
||||
this.$emit('update:visible', false)
|
||||
}).catch(err => {
|
||||
this.$message.error(this.$tc('common.updateErrorMsg' + ' ' + err))
|
||||
this.$emit('update:visible', false)
|
||||
const errMsg = Object.values(err.response.data).join(', ')
|
||||
this.$message.error(this.$tc('common.updateErrorMsg') + ' ' + errMsg)
|
||||
this.$emit('update:visible', true)
|
||||
})
|
||||
},
|
||||
handleCancel() {
|
||||
|
||||
Reference in New Issue
Block a user