Merge branch 'master' of http://192.168.1.22:3000/frontend/admin-sjzx
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user