修改障碍物

main
suixy 3 months ago
parent 675933d87b
commit 2c32efcebf

@ -768,6 +768,7 @@ const ad = () => {
const StartWorkBtn = () => { const StartWorkBtn = () => {
StartWork() StartWork()
rulerRef.value.setDot([], true) rulerRef.value.setDot([], true)
tableData1.value = []
} }
const StopWorkBtn = () => { const StopWorkBtn = () => {
StopWork() StopWork()
@ -824,7 +825,7 @@ const setDot = (e) => {
return {...v, index: k} return {...v, index: k}
})] })]
console.log(dots) console.log(dots)
rulerRef.value.setDot(dots) rulerRef.value.setDot(dots, false)
} }
const table1Current = (e, v) => { const table1Current = (e, v) => {
if (dotIndex.value === e.index) { if (dotIndex.value === e.index) {

Loading…
Cancel
Save