diff --git a/src/views/mkmj/area/components/editGate.vue b/src/views/mkmj/area/components/editGate.vue index b18645a..88d626b 100644 --- a/src/views/mkmj/area/components/editGate.vue +++ b/src/views/mkmj/area/components/editGate.vue @@ -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() - } + 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 })