🐞 fix: 修复一些下载和登录问题

fix: #49
This commit is contained in:
alger
2025-01-25 23:53:20 +08:00
parent 4fa1295b84
commit c6ca63ee11
12 changed files with 149 additions and 113 deletions
-1
View File
@@ -132,7 +132,6 @@ onBeforeUnmount(() => {
const checkLoginStatus = () => {
const token = localStorage.getItem('token');
const userData = localStorage.getItem('user');
console.log('触发了', token, userData);
if (!token || !userData) {
router.push('/login');