只允许竖屏

main
ihzero 2024-05-01 16:11:47 +08:00
parent b17fe89b16
commit bd73933614
4 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@ export default {
userStore.fetchUserInfo()
}
// #ifdef APP-PLUS
plus.screen.lockOrientation('portrait-primary')
if (userStore.isLogin) {
plus.navigator.closeSplashscreen()
} else {

View File

@ -0,0 +1,3 @@
{
"prompt" : "none"
}

View File

@ -98,6 +98,10 @@
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
},
"splashscreen" : {
"androidStyle" : "common",
"useOriginalMsgbox" : false
}
}
},