From 4f0618a0fd7b7fff8fe5e939842adc3902710121 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Jul 2025 14:45:34 +0800
Subject: [PATCH] fix: 尝试修复首次进入页面空白错误
---
src/page/index/top/index.vue | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index d3c1d93..c2a7440 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -103,10 +103,8 @@
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
const env = import.meta.env.VITE_APP_ENV
- console.log(env);
const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
env === 'development' ? this.$router.push({ path: '/login' }):window.location.replace(`${adminUrl}#/login`)
-
})
})
},
--
Gitblit v1.9.3