From 99fada4c85046bb9569a20ad1e72832b0c2001e8 Mon Sep 17 00:00:00 2001 From: kerms Date: Sat, 8 Jun 2024 14:38:19 +0800 Subject: [PATCH] feat(uart quick send): add draggable and editable send buttons list --- src/views/Uart.vue | 9 +- src/views/text-data-viewer/textDataMacro.vue | 137 ++++++++++++++++++- 2 files changed, 136 insertions(+), 10 deletions(-) diff --git a/src/views/Uart.vue b/src/views/Uart.vue index 02d53b1..851b418 100644 --- a/src/views/Uart.vue +++ b/src/views/Uart.vue @@ -22,13 +22,7 @@ 'min-w-80': layoutMode==='row', 'xl:min-w-96': layoutMode==='row' }" class="bg-gray-50 flex flex-col flex-shrink-0 min-h-32 overflow-auto p-2"> - - -
- 快捷发送 - 努力施工中 - -
+ @@ -85,6 +79,7 @@ import {registerModule} from "@/router/msgRouter"; import {isDevMode} from "@/composables/buildMode"; import {useWsStore} from "@/stores/websocket"; import {useUartStore} from "@/stores/useUartStore"; +import TextDataMacro from "@/views/text-data-viewer/textDataMacro.vue"; const store = useDataViewerStore() const wsStore = useWsStore() diff --git a/src/views/text-data-viewer/textDataMacro.vue b/src/views/text-data-viewer/textDataMacro.vue index 7d1dd4c..6f24f57 100644 --- a/src/views/text-data-viewer/textDataMacro.vue +++ b/src/views/text-data-viewer/textDataMacro.vue @@ -1,11 +1,142 @@ + + - \ No newline at end of file