fix: 歌单排序拖动hover样式修复

This commit is contained in:
539943419 committed 2024-09-29 12:18:18 +08:00
1 parent a03623a0a0
commit baec1856c9
5 files changed
+112 -67

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ const pluginConfig: registerComponentOption = {
key: 'miaoMusicPlayer',
name: '音乐',
icon: Disc,
getComponent: async () =>
getComponent: async () =>
(await import('./miaoMusicPlayerDemo.vue')).default,
filter: (vDirs, vFiles) => {
if (vDirs.length !== 0) {
@@ -17,13 +17,13 @@ const pluginConfig: registerComponentOption = {
return false
}
for (let i of vFiles) {
for (let s of ['mp3', 'flac', 'ogg']) {
for (let s of ['mp3', 'flac', 'ogg', 'mp4']) {
if (i.name.endsWith(s)) {
return true
}
}
}
return vFiles[0].name.endsWith('?')
return false
},
disable: false,
single: true,