From 054c4b3be788b870026fdd1da916be18931161e7 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 30 4月 2025 16:24:31 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo
---
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