bill 4 月之前
父节点
当前提交
2c5e50adaa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/animation/right/am.vue

+ 1 - 1
src/views/animation/right/am.vue

@@ -202,7 +202,7 @@ const getActionDur = (key: string) => {
   const actions = amMap[getAMKey(props.am)]?.am?.getSupportActions() || [];
   const actions = amMap[getAMKey(props.am)]?.am?.getSupportActions() || [];
   const action = actions.find((item) => item.name === key);
   const action = actions.find((item) => item.name === key);
   if (action?.duration) {
   if (action?.duration) {
-    return round(action?.duration);
+    return Math.floor(action?.duration);
   }
   }
 };
 };
 </script>
 </script>