qukaidi 4 éve
szülő
commit
d0aa38141f
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      pages/login/index.vue

+ 4 - 0
pages/login/index.vue

@@ -83,6 +83,7 @@
 					this.networkType = res.networkType
 				}
 			});
+			// #ifdef APP-PLUS
 			uni.getLocation({
 			    success:res=>{
 			    },
@@ -94,9 +95,12 @@
 					}	
 				}
 			});
+			// #endif
+			// #ifdef APP-PLUS
 			plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
 				this.version=wgtinfo.version
 			})
+			// #endif
 			uni.$on('loginphone',data=>{
 				this.tel=data
 			})