张文飞 пре 3 година
родитељ
комит
41d49930a9
1 измењених фајлова са 3 додато и 4 уклоњено
  1. 3 4
      pages/webviewPage/webviewPage.vue

+ 3 - 4
pages/webviewPage/webviewPage.vue

@@ -15,7 +15,6 @@
 					}
 				},
 				type: "",
-				iOS: true
 			};
 		},
 		onLoad(param) {
@@ -41,11 +40,11 @@
 					data: {},
 				})
 				if (res.data.success) {
-					if (this.type = '1') { //使用协议
+					if (this.type == '1') { //使用协议
 						this.url = res.data.single.userUseProtocol;
-					} else if (this.type = '2') { //隐私协议
+					} else if (this.type == '2') { //隐私协议
 						this.url = res.data.single.userPrivacyProtocol;
-					} else if (this.type = '3') { //业主注册协议
+					} else if (this.type == '3') { //业主注册协议
 						this.url = res.data.single.ownerRegistProtocol;
 					}
 				}