热更新

This commit is contained in:
2024-06-13 10:04:13 +08:00
parent e595e034dc
commit 7eaaf64a22
1180 changed files with 70026 additions and 731709 deletions

11
App.vue
View File

@@ -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;
}