Commit 37494e86 by 李伟康

强制横屏

1 parent fdfbb6a6
Showing 1 changed file with 1 additions and 0 deletions
<script> <script>
export default { export default {
onLaunch: function () { onLaunch: function () {
plus.screen.lockOrientation('landscape-primary')
uni.setKeepScreenOn({ uni.setKeepScreenOn({
keepScreenOn: true, keepScreenOn: true,
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!