张文飞 3 年 前
コミット
112a92559c
1 ファイル変更1 行追加1 行削除
  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({