张文飞 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({