Commit 02971bd3 by 李伟康

refactor(app): 移除应用版本设置调用

- 注释掉 setAPPVersion 方法调用
- 保持应用启动时的方向锁定功能
1 parent 9df91b05
Showing 1 changed file with 1 additions and 1 deletions
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
}, },
onLaunch: async function () { onLaunch: async function () {
this.onKeep() this.onKeep()
this.setAPPVersion() // this.setAPPVersion()
setTimeout(() => { setTimeout(() => {
plus.screen.unlockOrientation() //解除锁定屏幕方向 plus.screen.unlockOrientation() //解除锁定屏幕方向
plus.screen.lockOrientation('landscape-primary') plus.screen.lockOrientation('landscape-primary')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!