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 @@