From 4250485f05bf6a4019bc4fd0ed7379bef982d0ef Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周日, 04 5月 2025 10:11:27 +0800
Subject: [PATCH] 22
---
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