From 671b429b3c000eccf05910452505562f06defa73 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 06 5月 2025 07:54:56 +0800
Subject: [PATCH] 222
---
PipeLineLems/web/src/components/Content/Content.tsx | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/PipeLineLems/web/src/components/Content/Content.tsx b/PipeLineLems/web/src/components/Content/Content.tsx
index 182f4a2..a24ee13 100644
--- a/PipeLineLems/web/src/components/Content/Content.tsx
+++ b/PipeLineLems/web/src/components/Content/Content.tsx
@@ -7,12 +7,17 @@
type: String,
default: '鏍囬',
},
+ customStyle: {
+ type: String,
+ },
},
setup(props, { slots }) {
return () => (
<div class={styles.container}>
<div class={styles.title}>{props.title}</div>
- <div class={styles.content}>{slots.default?.()}</div>
+ <div class={styles.content} style={props.customStyle}>
+ {slots.default?.()}
+ </div>
</div>
)
},
--
Gitblit v1.9.3