首页检测版本
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
"src" : "图片路径"
|
"src" : "图片路径"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versionName" : "1.0.20",
|
"versionName" : "1.0.21",
|
||||||
"versionCode" : 1020,
|
"versionCode" : 1021,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"nvueCompiler" : "weex",
|
"nvueCompiler" : "weex",
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
|
|||||||
@@ -309,6 +309,9 @@
|
|||||||
import musicPlay from '@/components/music.vue'
|
import musicPlay from '@/components/music.vue'
|
||||||
import repciptData from '@/static/json/repcipt.json'
|
import repciptData from '@/static/json/repcipt.json'
|
||||||
import $http from '@/config/requestConfig.js';
|
import $http from '@/config/requestConfig.js';
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
|
||||||
|
// #endif
|
||||||
import {
|
import {
|
||||||
mapState,
|
mapState,
|
||||||
mapMutations
|
mapMutations
|
||||||
@@ -376,6 +379,7 @@
|
|||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
// plus.screen.unlockOrientation();
|
// plus.screen.unlockOrientation();
|
||||||
plus.screen.lockOrientation("portrait-primary");
|
plus.screen.lockOrientation("portrait-primary");
|
||||||
|
updata(); // 检查更新
|
||||||
// #endif
|
// #endif
|
||||||
this.requestAll()
|
this.requestAll()
|
||||||
this.classList = await this.getClassNoUser()
|
this.classList = await this.getClassNoUser()
|
||||||
|
|||||||
Reference in New Issue
Block a user