Parcourir la source

跳转小程序18

zhangyujun il y a 3 ans
Parent
commit
39bbf343bb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/mini/index.vue

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

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