From c55f6b40451d86cc4284431bb574f10f6285bf5d Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Fri, 15 May 2026 14:20:58 +0800 Subject: [PATCH] =?UTF-8?q?CRM=5F26-04-22#story#8495,=E6=BD=9C=E5=9C=A8?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86H5=E9=A1=B5=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BF=A1=E6=81=AF=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=EF=BC=8C=E6=8F=90=E4=BA=A4=E8=A1=A5=E5=85=85=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=8E=E9=80=80=E5=9B=9E=E7=90=86=E7=94=B1=E7=9A=84?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8E=E4=BF=AE=E5=A4=8D(=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E8=AF=A6=E6=83=85=E4=BF=AE=E6=94=B92)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/supplierAdd.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index/supplierAdd.vue b/src/views/index/supplierAdd.vue index fafa9480..51871fef 100644 --- a/src/views/index/supplierAdd.vue +++ b/src/views/index/supplierAdd.vue @@ -202,6 +202,7 @@ } }, async mounted() { + const urlParams = new URLSearchParams(window.location.search); const lastRoute = localStorage.getItem('lastRoute'); this.id = this.$route.query.id || urlParams.get('id'); if (lastRoute && !this.id) { @@ -209,7 +210,6 @@ this.$router.replace({ name, query }); return; } - const urlParams = new URLSearchParams(window.location.search); await this.getAreaTree(); if(this.id) {