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

@@ -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' },
]

View File

@@ -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', // 未知文件
}
/** 图片类型 */