From 78c39e3780b37a0b4888972505f460dbee7861d0 Mon Sep 17 00:00:00 2001 From: qubiaobiao <3294694717@qq.com> Date: Thu, 25 Apr 2024 14:02:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BD=AF=E4=BB=B6=E9=95=BF?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=BF=90=E8=A1=8C=E5=90=8E3D=E9=A5=BC?= =?UTF-8?q?=E5=9B=BE=E6=B6=88=E5=A4=B1=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/app.ts | 1 + src/render/api/util.js | 2 +- src/render/components/Ring.vue | 16 +++++++++++++++- src/render/page/DataMonitorPage.vue | 2 +- src/render/page/SignalMonitorPage.vue | 2 +- src/render/page/StateMonitorPage.vue | 2 +- 6 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/main/app.ts b/src/main/app.ts index 6ed3c68..58877e4 100644 --- a/src/main/app.ts +++ b/src/main/app.ts @@ -95,6 +95,7 @@ function createWindow(page: string, display: any) { win.webContents.openDevTools() } else { win.loadFile(`dist/render/${page}.html`) + // win.webContents.openDevTools() } windows.push(win); diff --git a/src/render/api/util.js b/src/render/api/util.js index 9f8da0c..7b44839 100644 --- a/src/render/api/util.js +++ b/src/render/api/util.js @@ -43,7 +43,7 @@ export function getNMEAObj(nmeaStr) { export function getGSV (nmeaStr) { const nmeaObj = getNMEAObj(nmeaStr) - console.log(nmeaObj, '================') + // console.log(nmeaObj, '================') if (!nmeaObj || !nmeaObj.GSV) return null const { GSV } = nmeaObj diff --git a/src/render/components/Ring.vue b/src/render/components/Ring.vue index c8cdf17..f2ce857 100644 --- a/src/render/components/Ring.vue +++ b/src/render/components/Ring.vue @@ -1,5 +1,5 @@