bill 4 달 전
부모
커밋
6754808c0a
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      src/views/animation/bottom.vue
  2. 4 1
      src/views/animation/index.vue

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

@@ -7,7 +7,6 @@
         @click="
         @click="
           () => {
           () => {
             play = !play;
             play = !play;
-            $emit('update:follow', play);
           }
           }
         "
         "
       />
       />

+ 4 - 1
src/views/animation/index.vue

@@ -31,7 +31,7 @@
     <BottomPano>
     <BottomPano>
       <Bottom
       <Bottom
         :am="focusAM"
         :am="focusAM"
-        v-model:follow="follow"
+        :follow="play || follow"
         v-model:current-time="currentTime"
         v-model:current-time="currentTime"
         v-model:active="activeAttrib"
         v-model:active="activeAttrib"
       />
       />
@@ -96,6 +96,9 @@ const activeAttrib = ref<Active>();
 
 
 const follow = ref(false);
 const follow = ref(false);
 const frameAction = ref<string>();
 const frameAction = ref<string>();
+watchEffect(() => {
+  console.error("floow", follow.value || play.value);
+});
 
 
 const amM = computed(() => focusAM.value && amMap[getAMKey(focusAM.value)]);
 const amM = computed(() => focusAM.value && amMap[getAMKey(focusAM.value)]);