mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 12:57:10 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
type LabelValueItem = { label: string, value: number, color: string }
|
||||
interface LabelValueItem { label: string, value: number, color: string }
|
||||
export const DisEnableStatusList: LabelValueItem[] = [
|
||||
{ label: '启用', value: 1, color: 'green' },
|
||||
{ label: '禁用', value: 2, color: 'red' }
|
||||
{ label: '禁用', value: 2, color: 'red' },
|
||||
]
|
||||
|
||||
@@ -11,7 +11,7 @@ export const FileTypeList: FileTypeListItem[] = [
|
||||
{ name: '文档', value: 3, icon: 'file-txt' },
|
||||
{ name: '视频', value: 4, icon: 'file-video-color' },
|
||||
{ name: '音频', value: 5, icon: 'file-music' },
|
||||
{ name: '其他', value: 1, icon: 'file-other' }
|
||||
{ name: '其他', value: 1, icon: 'file-other' },
|
||||
]
|
||||
|
||||
export interface FileExtendNameIconMap {
|
||||
@@ -34,7 +34,7 @@ export const FileIcon: FileExtendNameIconMap = {
|
||||
html: 'file-html',
|
||||
css: 'file-css',
|
||||
js: 'file-js',
|
||||
other: 'file-other' // 未知文件
|
||||
other: 'file-other', // 未知文件
|
||||
}
|
||||
|
||||
/** 图片类型 */
|
||||
|
||||
Reference in New Issue
Block a user