From a7100f50403a999a566e63d9460c527f552d3181 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?=
<42510293+ziyujiahao@users.noreply.github.com>
Date: Fri, 3 Apr 2026 13:21:01 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20tab=E6=8E=92=E5=BA=8F=E6=A0=87?=
=?UTF-8?q?=E9=A2=98=E6=94=AF=E6=8C=81=E5=8F=8C=E5=87=BB=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E5=90=8D=E7=A7=B0=20(#18189)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../de-tabs/CustomTabsSortSide.vue | 86 ++++++++++++++++++-
1 file changed, 83 insertions(+), 3 deletions(-)
diff --git a/core/core-frontend/src/custom-component/de-tabs/CustomTabsSortSide.vue b/core/core-frontend/src/custom-component/de-tabs/CustomTabsSortSide.vue
index f6db0da9c5..8964e3861c 100644
--- a/core/core-frontend/src/custom-component/de-tabs/CustomTabsSortSide.vue
+++ b/core/core-frontend/src/custom-component/de-tabs/CustomTabsSortSide.vue
@@ -8,13 +8,24 @@
class="item-dimension"
:class="{ 'item-dimension-dark': themes === 'dark' }"
:title="element.title"
+ @dblclick="startEditTitle(element)"
>
-
+
{{ element.title }}
+
@@ -46,7 +57,7 @@
@@ -146,6 +210,7 @@ import { deepCopy } from '@/utils/utils'
background-color: white;
display: flex;
align-items: center;
+ cursor: pointer;
}
.item-icon {
@@ -161,6 +226,21 @@ import { deepCopy } from '@/utils/utils'
text-overflow: ellipsis;
}
+.edit-input {
+ flex: 1;
+ min-width: 80px;
+
+ :deep(.el-input__wrapper) {
+ padding: 0 8px;
+ background-color: transparent;
+
+ .el-input__inner {
+ font-size: 12px;
+ line-height: 24px;
+ }
+ }
+}
+
.blackTheme .item-dimension {
border: solid 1px;
border-color: var(--ed-border-color);