浏览代码

fix:连线-自动播放问题

ananzhusen 10 月之前
父节点
当前提交
d1eba34200
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/components/PenAnimates.vue

+ 6 - 0
src/views/components/PenAnimates.vue

@@ -581,6 +581,12 @@ const delAnimate = (i: number) => {
       frames:[]
     })
   }
+  if(props.pen.type){
+    meta2d.setValue({
+      id:props.pen.id,
+      autoPlay:undefined,
+    });
+  }
   props.pen.animations.splice(i, 1);
   animate.value = undefined;
 };