2222
This commit is contained in:
11
App.vue
11
App.vue
@@ -17,16 +17,24 @@ import { h5Login } from "@/config/html5Utils";
|
||||
// // #endif
|
||||
// #ifdef APP-PLUS
|
||||
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
|
||||
|
||||
// #endif
|
||||
import Vue from "vue";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
platform: null, // 系统
|
||||
appRegisterMap: undefined,
|
||||
};
|
||||
},
|
||||
onLaunch: function (e) {
|
||||
uni.setStorageSync("isJump", null);
|
||||
console.log("App Launch");
|
||||
// #ifdef APP-PLUS
|
||||
// 注册事件
|
||||
plus.globalEvent.addEventListener("plusMessage", this.plusMessageHandler);
|
||||
// #endif
|
||||
|
||||
// 禁止横屏
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
@@ -245,6 +253,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
// ...mapMutations(['setUniverifyErrorMsg', 'setUniverifyLogin'])
|
||||
|
||||
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user