diff --git a/src/views/index.vue b/src/views/index.vue index 3b05473..dbc6d02 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -575,7 +575,7 @@ const currentPosition = ref({}) const processData = (data) => { // console.log('data',data.ty) console.log('FodName', data.FodName) - if (data.FodName === '雷达信息应答') { + if (data.FodName === '雷达信息') { console.log(data.radar_work_state) radarWorkState.value = data.radar_work_state } @@ -585,7 +585,7 @@ const processData = (data) => { } if (data.ty === 3) { } - if (data.FodName === '车辆信息应答') { + if (data.FodName === '车辆信息') { currentPosition.value = { lon: data.Longitude, lat: data.Latitude,