This commit is contained in:
GGJ
2024-04-17 14:15:27 +08:00

View File

@@ -8,6 +8,7 @@
clearable
:options="tableStore.table.data"
:props="cascaderProps"
clearable
style="width: 100%"
/>
</el-form-item>
@@ -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 {