From d7877a3e772c2a453e90503e29dfbaaf16416b2d Mon Sep 17 00:00:00 2001 From: Gdpao <1341331954@qq.com> Date: Thu, 10 Sep 2020 14:46:48 +0800 Subject: [PATCH] gdpao --- App.vue | 6 ++++++ 1 file changed, 6 insertions(+) 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({ -- 2.45.2