update ts

This commit is contained in:
Harvey committed 2021-12-01 14:16:43 +08:00
1 parent 7dfe78a95d
commit 69563e818b
10 files changed
+353 -120

No files matched your search

+2 -2
View File
@@ -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();
}
},
});