瀏覽代碼

feat: 去掉部分console

TIANYONG 7 月之前
父節點
當前提交
e1762c8186
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/page-instrument/view-detail/smoothAnimation/index.ts

+ 0 - 2
src/page-instrument/view-detail/smoothAnimation/index.ts

@@ -159,7 +159,6 @@ export function moveSmoothAnimation(progress: number, activeIndex: number) {
    // // 当前的index
    let nowIndex = nextPointsIndex - _numberOfSegments + progressCalcIndex
    // 当前计算的位置和上一次值一样时候不运行
-   console.log('移动000',moveState.oldIndex,nowIndex)
    if (moveState.oldIndex === nowIndex) {
       return
    }
@@ -176,7 +175,6 @@ export function moveSmoothAnimation(progress: number, activeIndex: number) {
       smoothAnimationState.pointsPos.slice(0, nowIndex)
    )
    // 当移动到屏幕最右边时候 就不进行移动了
-   console.log('移动1111',(smoothAnimationState.osdmScrollDom?.scrollLeft || 0) + smoothAnimationState.translateXNum + smoothAnimationState.osdmScrollDomWith,smoothAnimationState.canvasDomWith)
    if (
       (smoothAnimationState.osdmScrollDom?.scrollLeft || 0) + smoothAnimationState.translateXNum + smoothAnimationState.osdmScrollDomWith >=
       smoothAnimationState.canvasDomWith