编辑成功后不返回问题

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',
this.form
).then((data) => {
if (data.code != 0) {
this.$message.warning(data.msg)
} else {
this.$message.success(data.msg)
this.listLoading = false
this.dialogFormEdit = false
this.$parent.activeName = 'ListGate'
this.$parent.$refs.list.getList()
}
}).catch((e) => {
this.listLoading = false
})