20240517
This commit is contained in:
13
App.vue
13
App.vue
@@ -26,6 +26,11 @@ export default {
|
||||
};
|
||||
},
|
||||
onLaunch: function (e) {
|
||||
// 禁止横屏
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
// 检测自动更新
|
||||
// #ifdef APP-PLUS
|
||||
updata();
|
||||
@@ -39,6 +44,10 @@ export default {
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 取出初始播放信息
|
||||
uni.getStorage({
|
||||
key: "playingInfo",
|
||||
@@ -150,6 +159,10 @@ export default {
|
||||
// #endif
|
||||
},
|
||||
onShow: function (e) {
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
//获取二维码携带的参数
|
||||
let scene = decodeURIComponent(e.query.scene);
|
||||
|
||||
Reference in New Issue
Block a user