From 05dd1253572e3e53b7285e37e37314f4f7475f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=BA=A2=E4=B8=BD?= <1181930680@qq.com> Date: Wed, 18 Dec 2024 14:28:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8=E3=80=81=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=81websocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 16 +- src/components/Websocket/index.vue | 155 +++++++++++++++++++ src/views/data/config/columns.ts | 6 - src/views/data/config/index.vue | 221 ++++++++++++++++----------- src/views/data/dict/columns.ts | 6 +- src/views/data/dict/index.vue | 235 +++++++++++++++++------------ 6 files changed, 436 insertions(+), 203 deletions(-) create mode 100644 src/components/Websocket/index.vue diff --git a/src/App.vue b/src/App.vue index 7c65af2..c03ef5c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,24 +27,29 @@ :y-offset="60" :rotate="-15" /> + diff --git a/src/views/data/config/columns.ts b/src/views/data/config/columns.ts index e66b1c0..17441f8 100644 --- a/src/views/data/config/columns.ts +++ b/src/views/data/config/columns.ts @@ -6,12 +6,6 @@ export const columns = [ width: 50, fixed: 'left', }, - { - title: 'ID', - key: 'id', - fixed: 'left', - width: 50, - }, { title: '配置名称', key: 'name', diff --git a/src/views/data/config/index.vue b/src/views/data/config/index.vue index ce62c1c..e9fa0d6 100644 --- a/src/views/data/config/index.vue +++ b/src/views/data/config/index.vue @@ -1,81 +1,64 @@