不做码农 2022-06-24 19:49:40 +08:00
parent 8189ee0173
commit ba4f1d4c6c

View File

@ -447,12 +447,14 @@ function submitForm() {
updateMenu(form.value).then((response) => {
proxy.$modal.msgSuccess('修改成功')
open.value = false
menuList.value = []
getList()
})
} else {
addMenu(form.value).then((response) => {
proxy.$modal.msgSuccess('新增成功')
open.value = false
menuList.value = []
getList()
})
}