From 5051caeb90647c3c38989259fc94935a9748fdf7 Mon Sep 17 00:00:00 2001 From: George Date: Thu, 3 Sep 2026 08:08:06 +0800 Subject: [PATCH] =?UTF-8?q?20260903:=E8=B0=83=E8=AF=95=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=B8=85=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/iot/device/instruction-parsing.vue | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/yack-web/src/views/iot/device/instruction-parsing.vue b/yack-web/src/views/iot/device/instruction-parsing.vue index 39590abd..77e8d9c1 100644 --- a/yack-web/src/views/iot/device/instruction-parsing.vue +++ b/yack-web/src/views/iot/device/instruction-parsing.vue @@ -5,6 +5,7 @@
{{ $t('device.instruction-parsing.830424-0') }} {{ device.serialNumber }} + 清屏 @@ -961,6 +962,10 @@ export default { }); } }, + /**清屏 */ + clearLogList() { + this.logList = []; + }, }, mounted() { this.resetCreateForm(); @@ -1031,6 +1036,17 @@ $right-btn-color: #1890ff; font-size: 12px; border-bottom: 1px solid $border-color; + .clear-btn { + margin-left: auto; + color: #909399; + padding: 0; + font-size: 12px; + + &:hover { + color: #f56c6c; + } + } + .el-dropdown-link { cursor: pointer; } @@ -1307,5 +1323,13 @@ $right-btn-color: #1890ff; } } } + + /* 如果 style 有 scoped,请用 ::v-deep */ + ::v-deep .red-btn { + color: #F56C6C !important; + } + ::v-deep .red-btn:hover { + color: #FF0000 !important; /* 悬停时更亮 */ + } }