From 5fbafdfa384dcd15651f5cf15e88714aa25d04c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 25 Nov 2022 11:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- pages/startup/startup.vue | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index e144b6e..7df7a29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "NurseStationAppletUI", + "name": "nurseWeChatAppletUI", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/pages/startup/startup.vue b/pages/startup/startup.vue index 2497d32..4ad751b 100644 --- a/pages/startup/startup.vue +++ b/pages/startup/startup.vue @@ -18,7 +18,11 @@ }; }, onShow() { - this.info() + setTimeout(() => { + uni.reLaunch({ + url: '/pages/homepage/homepage' + }); + }, 2000); // const value = uni.getStorageSync('openid'); // if (value) { // existPatientInfo(value).then(res => { @@ -30,15 +34,7 @@ // }) // } else {} }, - methods: { - info() { - setTimeout(() => { - uni.reLaunch({ - url: '/pages/homepage/homepage' - }); - }, 2000); - }, - }, + methods: {}, }