Commit d0e67dd8 authored by Bill's avatar Bill

fix: 修改价格显示逻辑

parent 24b3d90c
......@@ -17,13 +17,12 @@ const Price: React.FC<Iprops> = (props: Iprops) => {
<span>{discountPrice || originalPrice}/{unit}</span>
</div>
{
(originalPrice !== discountPrice || !originalPrice) && (
(originalPrice !== discountPrice && originalPrice) && (
<div className={styles.discountPrice}>
{getIntl().formatMessage({ id: 'common.money' })}{originalPrice}/{unit}
</div>
) || null
}
</div>
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment