Browse Source

feat: 去掉部分console

TIANYONG 7 months ago
parent
commit
e1762c8186
1 changed files with 0 additions and 2 deletions
  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