android端 android文件下app/src/main/AndroidManifest.xml 添加 android:screenOrientation="portrait" IOS端 在Xcode项目中把相对应的勾去掉即可