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 {