flat: 页面初始化

This commit is contained in:
史典卓
2024-11-18 16:33:37 +08:00
parent cf8fc80b20
commit ad4eb162a5
83 changed files with 8250 additions and 89 deletions

View File

@@ -5,7 +5,12 @@ const userStore = useUserStore();
onLaunch(() => {
console.log('App Launch');
let openId = uni.getStorageSync('openId') || ''; // 同步获取 缓存信息
uni.onTabBarMidButtonTap(() => {
console.log(123);
uni.navigateTo({
url: '/pages/login/login',
});
});
if (openId) {
console.log('有openid');
} else {