From 9e009016f931001497a25aaccbf38f9ddf52a4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Mon, 30 Mar 2026 13:10:40 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +--- pages/index/index.vue | 2 +- pages/login/index.vue | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/App.vue b/App.vue index ed15f6f..522b7a7 100644 --- a/App.vue +++ b/App.vue @@ -23,9 +23,6 @@ ticket=params.get('ticket'); } - if (!ticket){ - this.closeWindow() - } // alert(ticket) if(ticket){ uni.showLoading({ @@ -124,6 +121,7 @@ // 或者使用iOS方式的调用方式... } else { console.log('Not in App environment.'); // 非App环境提示信息 + console.log('123'); setTimeout(function() { uni.redirectTo({ url: '/pages/login/index' diff --git a/pages/index/index.vue b/pages/index/index.vue index 3ee546f..cf77d56 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -209,7 +209,7 @@ uni.redirectTo({ url: '/pages/login/index' }); - }, 2000); + }, 1000); } return false; } diff --git a/pages/login/index.vue b/pages/login/index.vue index b342f95..2202ddc 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -176,10 +176,10 @@ // //#endif this.getdept(); + console.log('login success'); this.$refs.uToast.show({ title: '登录成功', type: 'success', - isTab: true, duration: 1000, url: '/pages/index/index' });