refactor: eslint src --fix

This commit is contained in:
2024-04-15 20:35:37 +08:00
parent c75c7092bd
commit 7ecfbb9c15
38 changed files with 187 additions and 227 deletions

View File

@@ -6,4 +6,4 @@ const BASE_URL = '/captcha'
/** @desc 获取图片验证码 */
export function getImageCaptcha() {
return http.get<Common.ImageCaptchaResp>(`${BASE_URL}/img`)
}
}

View File

@@ -1,7 +1,7 @@
import http from '@/utils/http'
import type { LabelValueState } from '@/types/global'
import type { TreeNodeData } from '@arco-design/web-vue'
import type {OptionQuery} from '@/apis'
import type { OptionQuery } from '@/apis'
const BASE_URL = '/common'
@@ -33,4 +33,4 @@ export function listOption(params: OptionQuery) {
/** @desc 上传文件 */
export function uploadFile(data: FormData) {
return http.post(`${BASE_URL}/file`, data)
}
}

View File

@@ -9,4 +9,3 @@ export * from './auth/type'
export * from './common/type'
export * from './monitor/type'
export * from './system/type'

View File

@@ -43,7 +43,7 @@ export interface LogDetailResp extends LogResp {
responseHeaders: string
responseBody: string
}
export interface LogQuery{
export interface LogQuery {
description?: string
module?: string
ip?: string

View File

@@ -221,4 +221,4 @@ export interface BasicConfigRecordResp {
site_copyright?: string
site_logo?: string
site_favicon?: string
}
}