This commit is contained in:
Gdpao
2020-09-10 14:46:48 +08:00
parent b5e8936307
commit d7877a3e77

View File

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