From 1f3a8e9f327ce0c3f8df940939f19463e5769148 Mon Sep 17 00:00:00 2001 From: zhaoyu Date: Wed, 31 Jan 2024 14:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=88=90=E5=8A=9F=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E8=BF=94=E5=9B=9E=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mkmj/area/components/editGate.vue | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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 })