From 9ce22eba3c561d353e12c66c509fb91ca241409f Mon Sep 17 00:00:00 2001 From: 648540858 <456panlinlin> Date: 星期二, 26 四月 2022 17:24:41 +0800 Subject: [PATCH] 行政区划作为级联数据的处理,修复设备树的显示 --- web_src/src/components/common/DeviceTree.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/common/DeviceTree.vue b/web_src/src/components/common/DeviceTree.vue index fab895f..31e49bd 100644 --- a/web_src/src/components/common/DeviceTree.vue +++ b/web_src/src/components/common/DeviceTree.vue @@ -89,8 +89,8 @@ }) } if (node.level === 1) { - this.deviceService.getAllChannel(true, node.data.id, (catalogData) => { - this.deviceService.getAllChannel(false, node.data.id, (channelData) => { + this.deviceService.getAllChannel(true, true, node.data.id, (catalogData) => { + this.deviceService.getAllChannel(false, true, node.data.id, (channelData) => { let data = catalogData.concat(channelData) this.channelDataHandler(data, resolve) }) -- Gitblit v1.8.0