张文飞 3 年 前
コミット
0b72296b9a
1 ファイル変更4 行追加1 行削除
  1. 4 1
      pages/houseDetail/houseDetail.vue

+ 4 - 1
pages/houseDetail/houseDetail.vue

@@ -147,8 +147,11 @@
 		},
 		methods: {
 			async signJsapiTicket(){
+				uni.showModal({
+					content:"href:"+window.location.href
+				})
 				let parmas = {
-					url:encodeURIComponent(location.href.split('#')[0]),
+					url:encodeURIComponent(window.location.href),
 				}
 				let self = this;
 				let res = await this.$myRequest({