From 8ddaa42086bc67dac16ea596d212b79d3b832313 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 12 二月 2025 14:58:45 +0800 Subject: [PATCH] fix: task --- apps/cMiniApp/src/components/Chunk/Cell.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/apps/cMiniApp/src/components/Chunk/Cell.vue b/apps/cMiniApp/src/components/Chunk/Cell.vue index 4b91124..5aec162 100644 --- a/apps/cMiniApp/src/components/Chunk/Cell.vue +++ b/apps/cMiniApp/src/components/Chunk/Cell.vue @@ -1,6 +1,6 @@ <template> <div class="bole-cell-wrapper"> - <div class="cell-title-wrapper"> + <div class="cell-title-wrapper" v-if="showTitle"> <slot name="title"> <div :class="titleSize === 'normal' ? 'cell-title' : 'cell-title-large'">{{ title }}</div> <slot name="title-right"></slot> @@ -18,10 +18,12 @@ type Props = { title?: string; titleSize?: 'large' | 'normal'; + showTitle?: boolean; }; const props = withDefaults(defineProps<Props>(), { titleSize: 'normal', + showTitle: true, }); </script> -- Gitblit v1.9.1