shish hace 4 años
padre
commit
53a0601b7c
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      ghsPad/src/mixins/globalMixins.js
  2. 1 1
      hdPad/src/mixins/globalMixins.js

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

@@ -38,7 +38,7 @@ export default {
 	onLoad: function (option) {
 	onLoad: function (option) {
 
 
     //横屏锁定
     //横屏锁定
-    plus.screen.lockOrientation('landscape-primary')
+    plus.screen.lockOrientation('landscape')
 
 
 		this.option = option || null
 		this.option = option || null
 		if (option.token) {
 		if (option.token) {

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

@@ -38,7 +38,7 @@ export default {
 	onLoad: function (option) {
 	onLoad: function (option) {
 
 
     //横屏锁定
     //横屏锁定
-    plus.screen.lockOrientation('landscape-primary')
+    plus.screen.lockOrientation('landscape')
 
 
 		this.option = option || null
 		this.option = option || null
 		if (option.token) {
 		if (option.token) {