diff --git a/src/api/modules/system.ts b/src/api/modules/system.ts index fd85873..6972d58 100644 --- a/src/api/modules/system.ts +++ b/src/api/modules/system.ts @@ -1,4 +1,4 @@ -import { request } from '../request' +import request from '../request' import type { ApiResponse } from '../types' export interface SystemSettings { diff --git a/src/utils/maintenanceGuard.ts b/src/utils/maintenanceGuard.ts index d8adca5..bb5638f 100644 --- a/src/utils/maintenanceGuard.ts +++ b/src/utils/maintenanceGuard.ts @@ -34,7 +34,7 @@ export const isAdminRoute = (path: string): boolean => { /** * 路由守卫:检查网站维护状态 */ -export const maintenanceGuard = (to: any, from: any, next: any) => { +export const maintenanceGuard = (to: any, _from: any, next: any) => { const siteEnabled = isSiteEnabled() const isAdmin = isAdminRoute(to.path) diff --git a/src/views/CourseExchanged.vue b/src/views/CourseExchanged.vue index 32932ed..304838b 100644 --- a/src/views/CourseExchanged.vue +++ b/src/views/CourseExchanged.vue @@ -30,9 +30,9 @@
-
- -