mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-15 02:57:09 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -26,7 +26,7 @@ const getFileImg = computed<string>(() => {
|
||||
return props.data.url || ''
|
||||
}
|
||||
if (!Object.keys(FileIcon).includes(extension)) {
|
||||
return FileIcon['other']
|
||||
return FileIcon.other
|
||||
}
|
||||
return FileIcon[extension]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user