张文飞 3 years ago
parent
commit
112a92559c
1 changed files with 1 additions and 1 deletions
  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({