This commit is contained in:
曹辉 2022-11-25 11:13:41 +08:00
parent 2b469e6301
commit 5fbafdfa38
2 changed files with 7 additions and 11 deletions

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "NurseStationAppletUI", "name": "nurseWeChatAppletUI",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -18,7 +18,11 @@
}; };
}, },
onShow() { onShow() {
this.info() setTimeout(() => {
uni.reLaunch({
url: '/pages/homepage/homepage'
});
}, 2000);
// const value = uni.getStorageSync('openid'); // const value = uni.getStorageSync('openid');
// if (value) { // if (value) {
// existPatientInfo(value).then(res => { // existPatientInfo(value).then(res => {
@ -30,15 +34,7 @@
// }) // })
// } else {} // } else {}
}, },
methods: { methods: {},
info() {
setTimeout(() => {
uni.reLaunch({
url: '/pages/homepage/homepage'
});
}, 2000);
},
},
} }
</script> </script>