热更新
This commit is contained in:
11
App.vue
11
App.vue
@@ -30,7 +30,10 @@ export default {
|
||||
// 禁止横屏
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
|
||||
// 检测自动更新
|
||||
// #ifdef APP-PLUS
|
||||
updata();
|
||||
// #endif
|
||||
console.log("at line 32到这里获取token:", uni.getStorageSync("token"));
|
||||
if (
|
||||
uni.getStorageSync("guidePages") != 2 ||
|
||||
@@ -59,10 +62,6 @@ export default {
|
||||
|
||||
// plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
// 检测自动更新
|
||||
// #ifdef APP-PLUS
|
||||
updata();
|
||||
// #endif
|
||||
|
||||
uni.getSystemInfo({
|
||||
success(res) {
|
||||
@@ -274,7 +273,7 @@ export default {
|
||||
|
||||
/deep/uni-page-body {
|
||||
// background-color: #F5F5F5 !important;
|
||||
background-color: #d8f8e4 !important;
|
||||
background-color: $themeBgColor;
|
||||
min-height: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user