From e4c8e7e440f3921671c55548889a3269c265fd6e Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Mon, 29 Jan 2024 13:45:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=A8=A1=E5=9E=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/model/devicemodel/editModel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/model/devicemodel/editModel.vue b/src/views/model/devicemodel/editModel.vue index 4eb030c..5abf849 100644 --- a/src/views/model/devicemodel/editModel.vue +++ b/src/views/model/devicemodel/editModel.vue @@ -471,7 +471,7 @@ function getTreeselect() { devicemodelOptions.value = []; const data = { id: 0, modelName: '顶级节点', children: [] }; const parentData = response.data.filter(item => { - return (item.modelTypeId == '1'); + return (item.modelTypeId == 'model_group'); }); data.children = proxy.handleTree(parentData, "id", "pid"); devicemodelOptions.value.push(data);