refactor: 调整 eslint.config.js,优化代码格式

This commit is contained in:
2024-10-28 21:20:08 +08:00
parent 0e8fe5ff1f
commit 9e5dff144b
176 changed files with 5956 additions and 5624 deletions

View File

@@ -34,6 +34,6 @@ export function listRoleUsers(id: string) {
return http.get(`${BASE_URL}/listRoleUsers/${id}`)
}
export function bindUsers(id: string, userIds : Array<string>) {
return http.post(`${BASE_URL}/bindUsers/${id}`,userIds)
export function bindUsers(id: string, userIds: Array<string>) {
return http.post(`${BASE_URL}/bindUsers/${id}`, userIds)
}

View File

@@ -157,7 +157,7 @@ export interface DictQuery {
sort: Array<string>
}
export type DictItemResp = {
export interface DictItemResp {
id: string
label: string
value: string
@@ -209,7 +209,7 @@ export interface NoticePageQuery extends NoticeQuery, PageQuery {
}
/** 系统文件类型 */
export type FileItem = {
export interface FileItem {
id: string
name: string
size: number
@@ -245,7 +245,7 @@ export interface FilePageQuery extends FileQuery, PageQuery {
}
/** 系统存储类型 */
export type StorageResp = {
export interface StorageResp {
id: string
name: string
code: string

View File

@@ -36,7 +36,7 @@ export function generate(tableNames: Array<string>) {
return http.requestNative({
url: `${BASE_URL}/${tableNames}`,
method: 'post',
responseType: 'blob'
responseType: 'blob',
})
}