From 5ff67318e1b4f754f96102a35556e3f30d1c57e8 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周二, 06 5月 2025 15:46:19 +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