From 15258b621476ed21f0fd65c7fba0b06ddbc66b7e Mon Sep 17 00:00:00 2001 From: cdf <857448963@qq.com> Date: Wed, 17 Apr 2024 10:28:37 +0800 Subject: [PATCH] Changes --- src/views/system/auth/menu/popupMenu.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/system/auth/menu/popupMenu.vue b/src/views/system/auth/menu/popupMenu.vue index 945648f3..0d21e358 100644 --- a/src/views/system/auth/menu/popupMenu.vue +++ b/src/views/system/auth/menu/popupMenu.vue @@ -8,6 +8,7 @@ clearable :options="tableStore.table.data" :props="cascaderProps" + clearable style="width: 100%" /> @@ -99,6 +100,11 @@ const open = (text: string, data: anyObj) => { dialogVisible.value = true } const submit = async () => { + + if(form.pid === ''||form.pid === null){ + form.pid = '0' + } + if (form.id) { await updateMenu(form) } else {