zhangyujun 3 anni fa
parent
commit
2152b63376
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/mini/index.vue

+ 1 - 1
src/views/mini/index.vue

@@ -17,7 +17,7 @@ export default defineComponent({
 	setup() {
 		openApi
 			.jspapi({
-				url: encodeURIComponent(window.location.href),
+				url: encodeURIComponent(window.location.href.split('#')[0]),
 			})
 			.then((res) => {
 				let wxConfig = {