From 6584cbef8a5829950c20b507e17445b97650e73f Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期三, 27 十一月 2024 12:15:04 +0800 Subject: [PATCH] 1. 新增消息管理类 2. socket消息类型js改为枚举类 3. 重连函数在使用时以参数传递进来 --- src/components/ToolBar.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/ToolBar.vue b/src/components/ToolBar.vue index 09c3f3b..7f4452e 100644 --- a/src/components/ToolBar.vue +++ b/src/components/ToolBar.vue @@ -9,6 +9,7 @@ :key="i" :type="b.color ? b.color : 'primary'" size="small" + plain @click="b.click" >{{ b.name }}</el-button > @@ -17,7 +18,7 @@ </el-row> <el-row class="tag-group" v-if="title"> <el-space> - <el-tag v-for="(d, i) in descriptions" :key="i" type="info" size="small">{{ + <el-tag v-for="(d, i) in descriptions" :key="i" :type="d.type" size="small">{{ d.name + ': ' + d.value }}</el-tag> </el-space> @@ -57,7 +58,9 @@ .layout { /* background-color: beige; */ height: var(--height-toolbar); - /* border-bottom: 1px solid var(--el-color-info-light-7); */ + border-bottom: 1px solid var(--el-color-info-light-7); + box-shadow: 6px 4px 4px rgba(0, 0, 0, 0.12); + margin-bottom: 4px; } .cell-item { -- Gitblit v1.9.3