This commit is contained in:
parent
8189ee0173
commit
ba4f1d4c6c
@ -447,12 +447,14 @@ function submitForm() {
|
|||||||
updateMenu(form.value).then((response) => {
|
updateMenu(form.value).then((response) => {
|
||||||
proxy.$modal.msgSuccess('修改成功')
|
proxy.$modal.msgSuccess('修改成功')
|
||||||
open.value = false
|
open.value = false
|
||||||
|
menuList.value = []
|
||||||
getList()
|
getList()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
addMenu(form.value).then((response) => {
|
addMenu(form.value).then((response) => {
|
||||||
proxy.$modal.msgSuccess('新增成功')
|
proxy.$modal.msgSuccess('新增成功')
|
||||||
open.value = false
|
open.value = false
|
||||||
|
menuList.value = []
|
||||||
getList()
|
getList()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user