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

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

* fix:关系视图删除关系接口传参修改
This commit is contained in:
wang-liang0615 2023-10-24 06:04:21 +08:00 committed by GitHub
parent 8c47105fbc
commit 67779ccc67
1 changed files with 2 additions and 2 deletions

View File

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