(() => element.value.style)
const state = reactive({
fontSize: [],
@@ -466,6 +472,13 @@ const styleOptionKeyArray = [
customOption: opacitySizeList,
width: '90px',
icon: dvStyleOpacity
+ },
+ {
+ value: 'titleHide',
+ label: '标题样式',
+ customOption: titleHideList,
+ width: '90px',
+ icon: dvStyleTabHead
}
]
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 3d21ea46b8..2d2d49a701 100644
--- a/core/core-frontend/src/custom-component/de-tabs/Component.vue
+++ b/core/core-frontend/src/custom-component/de-tabs/Component.vue
@@ -2,7 +2,12 @@
@@ -14,6 +19,7 @@
:active-color="activeColor"
:border-color="noBorderColor"
:border-active-color="borderActiveColor"
+ :hide-title="hideTitle"
>
{
+ if (
+ element.value &&
+ element.value.style &&
+ element.value.style.titleHide &&
+ typeof element.value.style.titleHide === 'boolean'
+ ) {
+ return element.value.style.titleHide
+ } else {
+ return false
+ }
+})
+
const isEditMode = computed(() => editMode.value === 'edit' && isEdit.value && !mobileInPc.value)
const curThemes = isDashboard() ? 'light' : 'dark'
const calcTabLength = () => {
@@ -537,9 +556,18 @@ onBeforeMount(() => {
})