diff --git a/template/uni-app/components/productConSwiper/index.vue b/template/uni-app/components/productConSwiper/index.vue index b03e8d2ce..da1950b26 100644 --- a/template/uni-app/components/productConSwiper/index.vue +++ b/template/uni-app/components/productConSwiper/index.vue @@ -7,7 +7,7 @@ diff --git a/template/uni-app/manifest.json b/template/uni-app/manifest.json index dc7587567..f904dad84 100644 --- a/template/uni-app/manifest.json +++ b/template/uni-app/manifest.json @@ -15,6 +15,12 @@ "autoclose" : true, "delay" : 0 }, + "screenOrientation" : [ + "portrait-primary", + "portrait-secondary", + "landscape-primary", + "landscape-secondary" + ], /* 模块配置 */ "modules" : { "Payment" : {},