mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-27 14:57:08 +08:00
refactor: eslint src --fix
This commit is contained in:
@@ -6,4 +6,4 @@ const BASE_URL = '/captcha'
|
||||
/** @desc 获取图片验证码 */
|
||||
export function getImageCaptcha() {
|
||||
return http.get<Common.ImageCaptchaResp>(`${BASE_URL}/img`)
|
||||
}
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
}
|
||||
|
@@ -9,4 +9,3 @@ export * from './auth/type'
|
||||
export * from './common/type'
|
||||
export * from './monitor/type'
|
||||
export * from './system/type'
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -221,4 +221,4 @@ export interface BasicConfigRecordResp {
|
||||
site_copyright?: string
|
||||
site_logo?: string
|
||||
site_favicon?: string
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user