From 505a0bc85ceff2c58aa829bd346d47849e1678eb Mon Sep 17 00:00:00 2001 From: Shan Ao <178391389@qq.com> Date: Mon, 28 Apr 2025 08:48:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E7=99=BB=E5=BD=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 849fb7e..962afab 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -1133,6 +1133,9 @@ export default { peopleTrajectoryValue: '' } }, + created() { + this.initUser() + }, mounted() { this.initCorpInfo() this.pointBoxCfd = loadMapBoxCfd() @@ -2940,10 +2943,6 @@ export default { { userId } ).then((res) => { console.log(res) - if (res.result !== 'success') { - alert('登录失败') - window.close() - } }).catch((e) => { alert('登录失败') window.close()