From 67779ccc67a60f90ea086883f44809e816a9a709 Mon Sep 17 00:00:00 2001 From: wang-liang0615 <53748875+wang-liang0615@users.noreply.github.com> Date: Tue, 24 Oct 2023 06:04:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=B3=E7=B3=BB=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=85=B3=E7=B3=BB=E6=8E=A5=E5=8F=A3=E4=BC=A0?= =?UTF-8?q?=E5=8F=82=E4=BF=AE=E6=94=B9=20(#224)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix:acl新增用户展示异常问题 * fix:关系视图删除关系接口传参修改 --- cmdb-ui/src/modules/cmdb/views/relation_views/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdb-ui/src/modules/cmdb/views/relation_views/index.vue b/cmdb-ui/src/modules/cmdb/views/relation_views/index.vue index 24c75d7..b22e385 100644 --- a/cmdb-ui/src/modules/cmdb/views/relation_views/index.vue +++ b/cmdb-ui/src/modules/cmdb/views/relation_views/index.vue @@ -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()