bill 5 tháng trước cách đây
mục cha
commit
fc2d00a3e0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/animation/bottom.vue

+ 1 - 1
src/views/animation/bottom.vue

@@ -155,7 +155,7 @@ const count = computed(() =>
 const play = ref(false);
 
 watch(play, (_a, _b, onCleanup) => {
-  play ? animationGroup.play() : animationGroup.pause();
+  play.value ? animationGroup.pause() : animationGroup.play();
 
   // let isDes = false;
   // let prevNow = Date.now();