| | |
| | | |
| | | // 监听实时信息 |
| | | watch(store.state.home.wsMessage, (newValue) => { |
| | | if (newValue || newValue.mode_code === 14) return |
| | | if (Object.keys(newValue).length === 0) return |
| | | // if (newValue || newValue.mode_code === 14) return |
| | | // if (Object.keys(newValue).length === 0) return |
| | | console.log(newValue,'咋没数据呀'); |
| | | detailInfo.value.longitudee = newValue?.longitude.toFixed(6) || '--'; |
| | | detailInfo.value.latitude = newValue?.latitude.toFixed(6) || '--'; |
| | | getLnglatAltitude(newValue?.longitude,newValue?.latitude).then((res) => { |