diff --git a/src/views/index.vue b/src/views/index.vue index 0690310..7a64948 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -649,10 +649,6 @@ const setItemsId = (e) => { const radarWorkState = ref(0) // 车辆位置 const boxPos = ref({x: 100, y: 150, rotate: 0}) -setInterval(() => { - // boxPos.value.x += ((-1) + Math.ceil(Math.random() * 2)) - boxPos.value.y += ((-8) + Math.ceil(Math.random() * 10)) -}, 1000) // 左侧区域宽高 const areaData = ref({ width: 500, @@ -679,7 +675,6 @@ const dots = ref([ // x: 125, // y: 125 // } - {x: 100, y: 100, index: 0}, {x: 100, y: 110, index: 1} ]) // 当前的目标障碍物 const dotIndex = ref(-1)