BUG 29221

This commit is contained in:
aixianling
2022-04-20 17:46:45 +08:00
parent 22e7c83a74
commit 71631bf2ca
2 changed files with 6 additions and 2 deletions

View File

@@ -113,13 +113,15 @@ export default {
submit() {
this.$refs.DialogForm.validate(v => {
if (v) {
let loading = this.$loading({text: "提交中..."})
this.instance.post("/app/apppartyintegralinfo/addOrUpdate", this.form).then(res => {
loading.close()
if (res?.code == 0) {
this.$message.success("提交成功!")
this.dialog = false
this.getTableData()
}
})
}).catch(() => loading.close())
}
})
},