diff --git a/src/views/index.vue b/src/views/index.vue index 0574c8d..1ad8da8 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -768,6 +768,7 @@ const ad = () => { const StartWorkBtn = () => { StartWork() rulerRef.value.setDot([], true) + tableData1.value = [] } const StopWorkBtn = () => { StopWork() @@ -824,7 +825,7 @@ const setDot = (e) => { return {...v, index: k} })] console.log(dots) - rulerRef.value.setDot(dots) + rulerRef.value.setDot(dots, false) } const table1Current = (e, v) => { if (dotIndex.value === e.index) {