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: {}, }