perf:修复大多数文件的 linter(首次)

This commit is contained in:
YunaiV
2025-12-15 23:12:42 +08:00
parent f9fc5a8abe
commit d971aba582
39 changed files with 286 additions and 278 deletions

View File

@@ -3,9 +3,6 @@ import type {
IAuthLoginRes,
ICaptcha,
IDoubleTokenRes,
IUpdateInfo,
IUpdatePassword,
IUserInfoRes,
} from './types/login'
import { http } from '@/http/http'

View File

@@ -15,7 +15,7 @@ export interface Dept {
}
/** 获取部门列表 */
export function getDeptList(params?: { name?: string; status?: number }) {
export function getDeptList(params?: { name?: string, status?: number }) {
return http.get<Dept[]>('/system/dept/list', params)
}

View File

@@ -1,5 +1,5 @@
import type { PageParam, PageResult } from '@/http/types'
import { http } from '@/http/http'
import { PageParam, PageResult } from '@/http/types';
/** 角色信息 */
export interface Role {

View File

@@ -36,9 +36,9 @@ export interface IUserInfoRes {
* 权限信息
*/
export interface AuthPermissionInfo {
user: IUserInfoRes;
roles: string[];
permissions: string[];
user: IUserInfoRes
roles: string[]
permissions: string[]
// menus: AppRouteRecordRaw[]; // add by 芋艿:暂时用不到
}