mirror of https://gitee.com/xiaonuobase/snowy
【更新】新增或编辑菜单失败后loading一直加载问题解决
parent
05bb1d2f9d
commit
e1780efdfd
|
@ -196,12 +196,10 @@
|
|||
const param = parameterChanges(formData.value)
|
||||
submitLoading.value = true
|
||||
menuApi.submitForm(param, !param.id).then(() => {
|
||||
submitLoading.value = false
|
||||
visible = false
|
||||
onClose()
|
||||
emit('successful')
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
}).finally(() => {
|
||||
submitLoading.value = false
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue