This commit is contained in:
guilinlan jin
2024-07-17 15:32:20 +08:00
parent 0d2ee2e2ca
commit 78820169ff
67 changed files with 28891 additions and 27825 deletions

11
App.vue
View File

@@ -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>