shish há 4 anos atrás
pai
commit
d1c4313f53
2 ficheiros alterados com 4 adições e 0 exclusões
  1. 2 0
      ghsPad/src/mixins/globalMixins.js
  2. 2 0
      hdPad/src/mixins/globalMixins.js

+ 2 - 0
ghsPad/src/mixins/globalMixins.js

@@ -37,8 +37,10 @@ export default {
 	},
 	},
 	onLoad: function (option) {
 	onLoad: function (option) {
 
 
+    // #ifdef APP-PLUS
     //横屏锁定
     //横屏锁定
     plus.screen.lockOrientation('landscape')
     plus.screen.lockOrientation('landscape')
+    // #endif
 
 
 		this.option = option || null
 		this.option = option || null
 		if (option.token) {
 		if (option.token) {

+ 2 - 0
hdPad/src/mixins/globalMixins.js

@@ -37,8 +37,10 @@ export default {
 	},
 	},
 	onLoad: function (option) {
 	onLoad: function (option) {
 
 
+    // #ifdef APP-PLUS
     //横屏锁定
     //横屏锁定
     plus.screen.lockOrientation('landscape')
     plus.screen.lockOrientation('landscape')
+    // #endif
 
 
 		this.option = option || null
 		this.option = option || null
 		if (option.token) {
 		if (option.token) {