From e8b7f52bc94f74ae95ac6bfe4569edd094b3bedd 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: Mon, 10 Feb 2025 19:02:03 +0800 Subject: [PATCH] Pr@dev v2@feat tab title background2 (#14884) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(仪表板、数据大屏): Tab组件标题支持设置背景 #13384 * feat(仪表板、数据大屏): Tab组件标题支持设置背景 --- .../custom-component/common/CommonAttr.vue | 2 - .../custom-component/de-tabs/Component.vue | 67 +++++++++++++++++-- .../de-tabs/TabBackgroundOverall.vue | 18 ++++- 3 files changed, 80 insertions(+), 7 deletions(-) diff --git a/core/core-frontend/src/custom-component/common/CommonAttr.vue b/core/core-frontend/src/custom-component/common/CommonAttr.vue index 952ee96436..b4a81a4440 100644 --- a/core/core-frontend/src/custom-component/common/CommonAttr.vue +++ b/core/core-frontend/src/custom-component/common/CommonAttr.vue @@ -59,9 +59,7 @@ const onBackgroundChange = val => { } const onTitleBackgroundEnableChange = val => { - element.value.titleBackground.enable = val snapshotStore.recordSnapshotCacheToMobile('titleBackground') - emits('onAttrChange', { custom: 'titleBackground' }) } const onTitleBackgroundChange = val => { diff --git a/core/core-frontend/src/custom-component/de-tabs/Component.vue b/core/core-frontend/src/custom-component/de-tabs/Component.vue index 42bceee91b..f0dd01f948 100644 --- a/core/core-frontend/src/custom-component/de-tabs/Component.vue +++ b/core/core-frontend/src/custom-component/de-tabs/Component.vue @@ -30,7 +30,7 @@ >