张文飞 il y a 3 ans
Parent
commit
9ac26c0630
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      pages/houseDetail/houseDetail.vue

+ 2 - 2
pages/houseDetail/houseDetail.vue

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