mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
update ts
This commit is contained in:
1 parent
7dfe78a95d
commit
69563e818b
10 files changed
+353
-120
No files matched your search
@@ -4,9 +4,9 @@ export default function toggleMix(art, player) {
|
||||
def(player, 'toggle', {
|
||||
value() {
|
||||
if (player.playing) {
|
||||
player.pause();
|
||||
return player.pause();
|
||||
} else {
|
||||
player.play();
|
||||
return player.play();
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user