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

This commit is contained in:
wang-liang0615 2023-10-24 06:02:35 +08:00
parent 09ba0e6f23
commit ecf432df6d
1 changed files with 2 additions and 2 deletions

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