张文飞 il y a 3 ans
Parent
commit
112a92559c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/houseDetail/houseDetail.vue

+ 1 - 1
pages/houseDetail/houseDetail.vue

@@ -151,7 +151,7 @@
 					content:"href:"+window.location.href.split('#')[0]
 				})
 				let parmas = {
-					url:window.location.href.split('#')[0],
+					url: encodeURIComponent(window.location.href.split('#')[0]),
 				}
 				let self = this;
 				let res = await this.$myRequest({