mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 12:40:25 +08:00
feat: 同步修改
This commit is contained in:
@@ -286,7 +286,7 @@ const getFilename = (path: string) => {
|
||||
return parts.pop()!
|
||||
}
|
||||
|
||||
const isArchive = (name: string) => {
|
||||
const isCompress = (name: string) => {
|
||||
const ext = getExt(name)
|
||||
return ['zip', 'rar', '7z', 'tar', 'gz'].includes(ext)
|
||||
}
|
||||
@@ -323,7 +323,7 @@ export {
|
||||
getExt,
|
||||
getFilename,
|
||||
getIconByExt,
|
||||
isArchive,
|
||||
isCompress,
|
||||
languageByPath,
|
||||
lastDirectory
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user