flat: 缓动
This commit is contained in:
2
App.vue
2
App.vue
@@ -14,8 +14,10 @@ onLaunch((options) => {
|
||||
useDictStore().getDictData();
|
||||
try {
|
||||
getUserInfo();
|
||||
useUserStore().changMiniProgramAppStatus(false);
|
||||
} catch {
|
||||
console.log('不是爱山东平台,使用测试登陆');
|
||||
useUserStore().changMiniProgramAppStatus(true);
|
||||
useUserStore().initSeesionId(); //更新
|
||||
let token = uni.getStorageSync('token') || ''; // 同步获取 缓存信息
|
||||
if (token) {
|
||||
|
||||
Reference in New Issue
Block a user