瀏覽代碼

fix(markup): заменен метод перенаправления на использование window.location.href вместо router.push

horanchikk 4 月之前
父節點
當前提交
47de994f55
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      pages/index.vue

+ 1 - 3
pages/index.vue

@@ -9,7 +9,5 @@ definePageMeta({
   layout: 'none',
 })
 
-const router = useRouter()
-
-router.push('/auth')
+window.location.href = '/auth'
 </script>