feat:报错修复,练习页面加载,

This commit is contained in:
小张 2025-09-16 18:52:38 +08:00
parent 27b68d2abc
commit 68c64a96c1
3 changed files with 1557 additions and 22 deletions

View File

@ -1,4 +1,4 @@
import { request } from '../request' import request from '../request'
import type { ApiResponse } from '../types' import type { ApiResponse } from '../types'
export interface SystemSettings { export interface SystemSettings {

View File

@ -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 siteEnabled = isSiteEnabled()
const isAdmin = isAdminRoute(to.path) const isAdmin = isAdminRoute(to.path)

File diff suppressed because it is too large Load Diff