From 8724fa1056e10c2102aac9abc388668c39383397 Mon Sep 17 00:00:00 2001 From: xh <11675084@qq.com> Date: Sat, 20 Dec 2025 02:45:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/views/system/dept/edit.vue | 2 +- admin/src/views/system/dept/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/views/system/dept/edit.vue b/admin/src/views/system/dept/edit.vue index fcb0943..37c2a82 100644 --- a/admin/src/views/system/dept/edit.vue +++ b/admin/src/views/system/dept/edit.vue @@ -9,7 +9,7 @@ @close="handleClose" > - + { const list = await deptAll(queryParams) // 根据id和pid处理层级关系 - lists.value = arrayToTree(list, '0') + lists.value = arrayToTree(list, '') console.log('lists', lists) loading.value = false