Commit be33e7bf authored by Bill's avatar Bill

fix: 修改价格显示逻辑

parent af4a1198
......@@ -16,7 +16,7 @@ const Price: React.FC<Iprops> = (props: Iprops) => {
<span>{discountPrice || originalPrice}/{unit}</span>
</div>
{
(originalPrice !== discountPrice || !originalPrice) && (
(originalPrice !== discountPrice && originalPrice) && (
<div className={styles.discountPrice}>
{originalPrice}/{unit}
</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