mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-07 04:08:10 +00:00
🐛 修复longText报错问题
This commit is contained in:
parent
82d4692edc
commit
fe97dde620
@ -22,7 +22,6 @@ const LongText = memo((props: ILongTextConfig & { isTpl: boolean }) => {
|
||||
</div>
|
||||
) : (
|
||||
<div
|
||||
className={styles.textWrap}
|
||||
style={{
|
||||
color,
|
||||
textIndent: indent + 'px',
|
||||
|
||||
@ -10,9 +10,7 @@ const Text = memo((props: ITextConfig & { isTpl: boolean }) => {
|
||||
<img src={logo} alt=""></img>
|
||||
</div>
|
||||
) : (
|
||||
<div className={styles.textWrap} style={{ color, textAlign: align, fontSize, lineHeight }}>
|
||||
{text}
|
||||
</div>
|
||||
<div style={{ color, textAlign: align, fontSize, lineHeight }}>{text}</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user