禁止手機app橫豎屏幕轉換,只需在根目錄下的 config.xml
中添加如下內容
<preference name="orientation" value="portrait" />
portrait
縱向 landscape
橫向 default
默認轉屏
禁止手機app橫豎屏幕轉換,只需在根目錄下的 config.xml
中添加如下內容
<preference name="orientation" value="portrait" />
portrait
縱向 landscape
橫向 default
默認轉屏
參考鏈接 先上圖 實現方法: { "path" : "pages/worksapce/roomTypeManage/roomTypeManage", "style" : { "navigati