fix: 修复组织详情关联用户报错的问题

This commit is contained in:
Bai
2021-05-17 19:07:55 +08:00
committed by Jiangjie.Bai
parent b03af2c995
commit 4509970f7d
2 changed files with 4 additions and 2 deletions

View File

@@ -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()
}
}

View File

@@ -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(() => {