perf:修复大多数文件的 linter(首次)
This commit is contained in:
@@ -3,9 +3,6 @@ import type {
|
||||
IAuthLoginRes,
|
||||
ICaptcha,
|
||||
IDoubleTokenRes,
|
||||
IUpdateInfo,
|
||||
IUpdatePassword,
|
||||
IUserInfoRes,
|
||||
} from './types/login'
|
||||
import { http } from '@/http/http'
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 芋艿:暂时用不到
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user