diff --git a/App.vue b/App.vue index aa4518b..1303ee1 100644 --- a/App.vue +++ b/App.vue @@ -8,6 +8,12 @@ ...mapState(["hasLogin"]) }, onLaunch() { + // 禁止旋转 + // #ifdef APP-PLUS + plus.screen.lockOrientation('portrait-primary'); + // #endif + + getApp().globalData.im = this.imService // 缓存token uni.getStorage({