mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: 修复组织详情关联用户报错的问题
This commit is contained in:
@@ -108,7 +108,7 @@ export default {
|
||||
that.iHasObjects = [...that.iHasObjects, ...objects]
|
||||
that.$refs.select2.clearSelected()
|
||||
this.$message.success(this.$t('common.updateSuccessMsg'))
|
||||
this.$refs.GenericListTable.reloadTable()
|
||||
this.$refs.GenericListTable.$refs.ListTable.reloadTable()
|
||||
window.location.reload()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,10 +51,12 @@ export default {
|
||||
try {
|
||||
await performDelete.bind(this)()
|
||||
this.$message.success(this.$t('common.deleteSuccessMsg'))
|
||||
this.$router.push('/xpack/orgs/') // 返回列表
|
||||
return done()
|
||||
} catch (error) {
|
||||
this.$log.error(error)
|
||||
} finally {
|
||||
instance.confirmButtonLoading = false
|
||||
this.$router.push('/xpack/orgs/') // 返回列表
|
||||
}
|
||||
}
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user