flat: 暂存
This commit is contained in:
12
App.vue
12
App.vue
@@ -9,8 +9,7 @@ import config from '@/config.js';
|
||||
onLaunch((options) => {
|
||||
useUserStore().initSeesionId(); //更新
|
||||
useDictStore().getDictData();
|
||||
// uni.hideTabBar();
|
||||
|
||||
uni.hideTabBar();
|
||||
// 登录
|
||||
let token = uni.getStorageSync('token') || ''; // 同步获取 缓存信息
|
||||
if (token) {
|
||||
@@ -26,14 +25,7 @@ onLaunch((options) => {
|
||||
}
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// #ifndef MP-WEIXIN
|
||||
appendScriptTagElement('https://qd.zhaopinzao8dian.com/file/csn/jweixin-1.4.0.js').then(() => {
|
||||
console.log('✅ 微信 JSSDK 加载完成');
|
||||
// signatureFn();
|
||||
});
|
||||
// #endif
|
||||
});
|
||||
onMounted(() => {});
|
||||
|
||||
onShow(() => {
|
||||
console.log('App Show');
|
||||
|
||||
Reference in New Issue
Block a user