mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-22 04:57:09 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
@@ -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
|
||||
|
@@ -36,7 +36,7 @@ export function generate(tableNames: Array<string>) {
|
||||
return http.requestNative({
|
||||
url: `${BASE_URL}/${tableNames}`,
|
||||
method: 'post',
|
||||
responseType: 'blob'
|
||||
responseType: 'blob',
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user