Merge branch 'master' of http://192.168.1.22:3000/frontend/admin-sjzx
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
clearable
|
clearable
|
||||||
:options="tableStore.table.data"
|
:options="tableStore.table.data"
|
||||||
:props="cascaderProps"
|
:props="cascaderProps"
|
||||||
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -99,6 +100,11 @@ const open = (text: string, data: anyObj) => {
|
|||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
}
|
}
|
||||||
const submit = async () => {
|
const submit = async () => {
|
||||||
|
|
||||||
|
if(form.pid === ''||form.pid === null){
|
||||||
|
form.pid = '0'
|
||||||
|
}
|
||||||
|
|
||||||
if (form.id) {
|
if (form.id) {
|
||||||
await updateMenu(form)
|
await updateMenu(form)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user