编辑成功后不返回问题

2024年2月1日V1.0.53.2
zhaoyu 2024-01-31 14:23:42 +08:00
parent 33c50697d6
commit 1f3a8e9f32
1 changed files with 5 additions and 9 deletions

View File

@ -179,15 +179,11 @@ export default {
'/mkmjAreaGate/edit', '/mkmjAreaGate/edit',
this.form this.form
).then((data) => { ).then((data) => {
if (data.code != 0) { this.$message.success(data.msg)
this.$message.warning(data.msg) this.listLoading = false
} else { this.dialogFormEdit = false
this.$message.success(data.msg) this.$parent.activeName = 'ListGate'
this.listLoading = false this.$parent.$refs.list.getList()
this.dialogFormEdit = false
this.$parent.activeName = 'ListGate'
this.$parent.$refs.list.getList()
}
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })