mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
feat: Refactor thumbnails implementation in Artplayer
This commit refactors the `thumbnails` implementation in Artplayer to improve code readability and maintainability. The code changes remove unnecessary variables and simplify the logic for displaying thumbnails. This refactor enhances the overall performance and user experience of the Artplayer plugin.
This commit is contained in:
1 parent
69168750f5
commit
3e3b38fe07
3 files changed
+5
-47
No files matched your search
@@ -2,7 +2,7 @@ export default function thumbnails(options) {
|
||||
return (art) => ({
|
||||
...options,
|
||||
mounted: () => {
|
||||
this.art.thumbnails = art.options.thumbnails;
|
||||
art.thumbnails = art.options.thumbnails;
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user