图片调整
This commit is contained in:
17
App.vue
17
App.vue
@@ -18,6 +18,7 @@ export default {
|
||||
};
|
||||
},
|
||||
onLaunch: function() {
|
||||
uni.setStorageSync("isJump", null);
|
||||
// 禁止横屏
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
@@ -32,6 +33,22 @@ export default {
|
||||
},
|
||||
});
|
||||
|
||||
if (
|
||||
uni.getStorageSync("guidePages") != 2 ||
|
||||
!uni.getStorageSync("guidePages")
|
||||
) {
|
||||
plus.navigator.closeSplashscreen();
|
||||
} else {
|
||||
uni.switchTab({
|
||||
url: "/pages/home/index",
|
||||
success: function () {
|
||||
plus.navigator.closeSplashscreen();
|
||||
let page = getCurrentPages()[0];
|
||||
page.$vm.requestAll();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
//取出缓存数据
|
||||
store.commit("setCacheData");
|
||||
// #ifdef MP-WEIXIN
|
||||
|
||||
Reference in New Issue
Block a user