From 18c0941817f246da29162df918cf056c36f2d249 Mon Sep 17 00:00:00 2001 From: lbw Date: Wed, 8 Mar 2023 15:08:24 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E9=83=A8=E9=97=A8=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/dept/form.vue | 2 +- src/views/admin/menu/index.vue | 218 ++++++++++++++++----------------- 2 files changed, 105 insertions(+), 115 deletions(-) diff --git a/src/views/admin/dept/form.vue b/src/views/admin/dept/form.vue index 8ab536bf..9da6428a 100644 --- a/src/views/admin/dept/form.vue +++ b/src/views/admin/dept/form.vue @@ -124,7 +124,7 @@ const getDeptData = async () => { depttree().then((res) => { parentData.value = []; const dept = { - id: '-1', + id: '0', name: '根部门', children: [] as any[], }; diff --git a/src/views/admin/menu/index.vue b/src/views/admin/menu/index.vue index c202a021..95ed8e43 100644 --- a/src/views/admin/menu/index.vue +++ b/src/views/admin/menu/index.vue @@ -1,129 +1,119 @@