From cbacf1db19a1c56b673e2888b65065039e004c74 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Tue, 14 Jun 2022 17:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=91=97=E5=BD=95=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/category/PreviewForm.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/components/category/PreviewForm.vue b/src/views/components/category/PreviewForm.vue index 200ea8b..e9874f2 100644 --- a/src/views/components/category/PreviewForm.vue +++ b/src/views/components/category/PreviewForm.vue @@ -6,7 +6,6 @@ - { if (item.dictionaryConfigId) { FetchFindAllSubsetById({ id: item.dictionaryConfigId.id }).then(res => { - parentNode.children = res.content.map(function(obj) { + parentNode.children = res.map(function(obj) { if (obj.hasChildren) { obj.children = null }