Răsfoiți Sursa

取消锁定

shish 4 ani în urmă
părinte
comite
2b0ee234bc
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      hdPad/src/mixins/autoUpdate.js
  2. 1 1
      hdPad/src/mixins/globalMixins.js

+ 1 - 1
hdPad/src/mixins/autoUpdate.js

@@ -54,7 +54,7 @@ export default {
                         uni.showToast({ title: '安装失败', mask: false, duration: 1500,icon:"none" })
                         uni.showToast({ title: '安装失败', mask: false, duration: 1500,icon:"none" })
                     })  
                     })  
                 } else {  
                 } else {  
-                    uni.showToast({ title: '更新失败', mask: false, duration: 1500,icon:"none" })
+                    uni.showToast({ title: '安装失败', mask: false, duration: 1500,icon:"none" })
                 }
                 }
             });
             });
             dtask.start()
             dtask.start()

+ 1 - 1
hdPad/src/mixins/globalMixins.js

@@ -30,7 +30,7 @@ export default {
 
 
     // #ifdef APP-PLUS
     // #ifdef APP-PLUS
     //横屏锁定
     //横屏锁定
-    plus.screen.lockOrientation('landscape')
+    //plus.screen.lockOrientation('landscape')
     // #endif
     // #endif
 
 
 		this.option = option || null
 		this.option = option || null