chenlei 11 miesięcy temu
rodzic
commit
c9fa9ba6e4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/home/components/title/index.zgrs.vue

+ 1 - 1
src/views/home/components/title/index.zgrs.vue

@@ -156,7 +156,7 @@
   ];
 
   const changeScene = (code: string) => {
-    window.location.href = `${window.origin}?m=${code}`;
+    location.href = `${location.origin}${location.pathname}?m=${code}`;
   };
 </script>