skyblued 3 lat temu
rodzic
commit
a296c64998
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/shop-mall/index.tsx

+ 1 - 1
src/views/shop-mall/index.tsx

@@ -45,7 +45,7 @@ export default defineComponent({
     openWebView(url: string): void {
       // console.log(url)
       let dev = false
-      let origin = location.origin + '/#'
+      let origin = location.origin + location.pathname + '#'
       if (!url) return
       url = origin + url
       console.log('跳转url:', url)