mirror of https://gitee.com/xiaonuobase/snowy
【更新】菜单 新增、编辑 请求逻辑调整
parent
e070bc01bd
commit
66df79746f
|
@ -208,7 +208,7 @@
|
||||||
.then(() => {
|
.then(() => {
|
||||||
const param = parameterChanges(formData.value)
|
const param = parameterChanges(formData.value)
|
||||||
submitLoading.value = true
|
submitLoading.value = true
|
||||||
menuApi.submitForm(param, !param.id).then(() => {
|
menuApi.submitForm(param, !!param.id).then(() => {
|
||||||
onClose()
|
onClose()
|
||||||
emit('successful')
|
emit('successful')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue