张文飞 hace 3 años
padre
commit
112a92559c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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({