张文飞 %!s(int64=3) %!d(string=hai) anos
pai
achega
0b72296b9a
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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({