首页检测版本

This commit is contained in:
@fawn-nine
2024-09-29 16:35:21 +08:00
parent 49173572e7
commit e36d3962aa
2 changed files with 7 additions and 3 deletions

View File

@@ -309,6 +309,9 @@
import musicPlay from '@/components/music.vue'
import repciptData from '@/static/json/repcipt.json'
import $http from '@/config/requestConfig.js';
// #ifdef APP-PLUS
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
// #endif
import {
mapState,
mapMutations
@@ -375,7 +378,8 @@
uni.hideTabBar();
// #ifdef APP-PLUS
// plus.screen.unlockOrientation();
plus.screen.lockOrientation("portrait-primary");
plus.screen.lockOrientation("portrait-primary");
updata(); // 检查更新
// #endif
this.requestAll()
this.classList = await this.getClassNoUser()