From d87f7aa4d16d2ff9d5dd057f2d163255984e4a01 Mon Sep 17 00:00:00 2001 From: zhufu <17863654727@163.com> Date: Tue, 24 Jun 2025 16:56:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86-=E9=A3=9E?= =?UTF-8?q?=E8=A1=8C=E5=99=A8-=E7=BC=96=E8=BE=91=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=8F=8A=E5=88=97=E8=A1=A8=E6=95=B0=E6=8D=AE=E9=80=9A=E8=BF=87?= =?UTF-8?q?mqtt=E8=A1=A5=E8=B6=B3=20=20dellog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/workmanagement/device/Aerocraft/index.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/views/demo/workmanagement/device/Aerocraft/index.vue b/src/views/demo/workmanagement/device/Aerocraft/index.vue index 1f60cf6..c84a363 100644 --- a/src/views/demo/workmanagement/device/Aerocraft/index.vue +++ b/src/views/demo/workmanagement/device/Aerocraft/index.vue @@ -41,7 +41,7 @@ import { columns, dataSource, searchFormSchema } from './utils' import { GetUavPageList, DeleteUav } from '@/api/demo/device' import { getClient, clientSubscribe } from '@/utils/mqtt' import dayjs from "dayjs"; -import { Modal } from "ant-design-vue"; +import { message, Modal } from "ant-design-vue"; import EditDevice from './EditDevice/index.vue' const props = defineProps(['projectList','connected']) @@ -56,10 +56,8 @@ onMounted(() => { }; } getClient().on('message', (topic, msg) => { - console.log(123,'topic',topic) if (topic.endsWith("osd")) { const rs = JSON.parse(msg) - console.log(1231,rs) let list = getDataSource() let sn = rs.gateway for(let i = 0; i < list.length; i++){ @@ -75,9 +73,7 @@ onMounted(() => { }) const afterFetch = ref(false) watch(() => afterFetch.value, () => { - console.log(123123,getDataSource()) nextTick(() => { - console.log(456,456,getDataSource()) getDataSource().forEach(item => { let topicUrl = `thing/product/${item.psn}/osd`; clientSubscribe(topicUrl); @@ -106,7 +102,6 @@ const [registerTable, { reload, expandAll, getForm,getDataSource}] = useTable({ }, afterFetch(data) { afterFetch.value = true - console.log('afterFetch', data); }, actionColumn: { width: 100,