From 24843b32643c7bc85972a8b53af0e55961e99f6c Mon Sep 17 00:00:00 2001 From: szdot Date: Fri, 20 Jun 2025 09:40:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=20?= =?UTF-8?q?=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- src/views/layout/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/layout/index.vue b/src/views/layout/index.vue index 82edc52..3f81549 100644 --- a/src/views/layout/index.vue +++ b/src/views/layout/index.vue @@ -208,6 +208,12 @@ export default { } }) }) + // 订阅ADSB信息 + mqtt.doSubscribe('ADSB/+', (res) => { + if (res.topic.indexOf('ADSB') > -1) { + + } + }) // 订阅对频 mqtt.doSubscribe('crosFrequency/+', (res) => { if (res.topic.indexOf('crosFrequency') > -1) {