fix: 歌单排序拖动hover样式修复
This commit is contained in:
1 parent
a03623a0a0
commit
baec1856c9
5 files changed
+112
-67
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user