update artplayerPluginControl

This commit is contained in:
Harvey Zack committed 2022-12-31 23:51:07 +08:00
1 parent 692a43e4ec
commit 5421ccc9d6
3 files changed
+7 -4

No files matched your search

@@ -21,10 +21,12 @@ export default function artplayerPluginControl() {
const {
template: { $bottom, $player },
constructor: {
utils: { append, secondToTime, addClass, removeClass, hasClass },
utils: { append, secondToTime, addClass, removeClass, hasClass, isMobile },
},
} = art;
if (isMobile) return;
const className = 'artplayer-plugin-control';
addClass($player, className);