fix:关系视图删除关系接口传参修改 ()

* fix:acl新增用户展示异常问题

* fix:关系视图删除关系接口传参修改
This commit is contained in:
wang-liang0615 2023-10-24 06:04:21 +08:00 committed by GitHub
parent fff5679f6e
commit b6c41c00dd
1 changed files with 2 additions and 2 deletions
cmdb-ui/src/modules/cmdb/views/relation_views

View File

@ -940,10 +940,10 @@ export default {
),
onOk() {
const _tempTree = that.treeKeys[that.treeKeys.length - 1].split('%')
const firstCIObj = JSON.parse(_tempTree[2])
const first_ci_id = Number(_tempTree[0])
batchDeleteCIRelation(
that.selectedRowKeys.map((item) => item._id),
firstCIObj
[first_ci_id]
).then((res) => {
that.$refs.xTable.clearCheckboxRow()
that.$refs.xTable.clearCheckboxReserve()