refactor: 更新 eslint 和 prettier 配置 格式化代码

This commit is contained in:
alger
2025-07-23 23:54:35 +08:00
parent d1f5c8af84
commit c08c2cbf19
134 changed files with 3887 additions and 3301 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
import { createRouter, createWebHashHistory } from 'vue-router';
import { useUserStore } from '../store/modules/user';
import AppLayout from '@/layout/AppLayout.vue';
import MiniLayout from '@/layout/MiniLayout.vue';
import homeRouter from '@/router/home';
import otherRouter from '@/router/other';
import { useSettingsStore } from '@/store/modules/settings';
import { useUserStore } from '../store/modules/user';
function getUserId(): string | null {
const userStore = useUserStore();
return userStore.user?.userId?.toString() || null;
+1 -1
View File
@@ -86,6 +86,6 @@ const otherRouter = [
back: true
},
component: () => import('@/views/playlist/ImportPlaylist.vue')
},
}
];
export default otherRouter;