【更新】新增或编辑菜单失败后loading一直加载问题解决

pull/56/head
小诺 2 years ago committed by 俞宝山
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…
Cancel
Save