实现星座图数据的更新

This commit is contained in:
yezhichao
2021-11-23 12:57:57 +08:00
parent 9e19585d1f
commit 154c8ed26b
4 changed files with 57 additions and 13 deletions

View File

@@ -27,10 +27,10 @@ import SNRView from '../components/SNRView.vue'
import { ref, onMounted } from 'vue'
import { getNMEAObj } from '../api/util'
const BDSNRView = ref()
const GPSNRView = ref()
const GLSNRView = ref()
const GASNRView = ref()
const BDSNRView = ref(null)
const GPSNRView = ref(null)
const GLSNRView = ref(null)
const GASNRView = ref(null)
const update = (nmeaStr: string) => {
const data: any = getMonitoringData(nmeaStr)
if (!data) return