首页检测版本
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user