Skip to content

Commit

Permalink
fix: ext case
Browse files Browse the repository at this point in the history
  • Loading branch information
a1mersnow committed Nov 21, 2023
1 parent 38fe41b commit 3266317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aliyundrive-rename",
"type": "module",
"version": "0.2.5",
"version": "0.2.6",
"private": true,
"packageManager": "[email protected]",
"description": "Batch rename files of aliyundrive.",
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const VideoExts = [
]
// 剧集模式下使用该列表
const videoList = computed(() => {
return list.value.filter(x => x.type === 'file' && VideoExts.includes(x.file_extension)) as aliyun.FileResource[]
return list.value.filter(x => x.type === 'file' && VideoExts.includes(x.file_extension.toLowerCase())) as aliyun.FileResource[]
})
const popupVisible = ref(false)
Expand Down

0 comments on commit 3266317

Please sign in to comment.