Commit 004dabd0 by 青梅竹马

修改函数报错

parent bfb965b9
...@@ -306,7 +306,7 @@ function GorupContent(props) { ...@@ -306,7 +306,7 @@ function GorupContent(props) {
}) })
if (flag) { if (flag) {
tip = ( tip = (
<p className="tip">{`拼团省¥${round( <p className="tip">{`拼团省¥${Math.round(
data.price1 - pdd_price, data.price1 - pdd_price,
2 2
)}元`}</p> )}元`}</p>
...@@ -320,7 +320,7 @@ function GorupContent(props) { ...@@ -320,7 +320,7 @@ function GorupContent(props) {
} else { } else {
if (getParam("is_originator") == 1) { if (getParam("is_originator") == 1) {
tip = ( tip = (
<p className="tip">{`拼团省¥${round( <p className="tip">{`拼团省¥${Math.round(
data.price1 - pdd_price, data.price1 - pdd_price,
2 2
)}元`}</p> )}元`}</p>
...@@ -336,7 +336,7 @@ function GorupContent(props) { ...@@ -336,7 +336,7 @@ function GorupContent(props) {
) )
} else { } else {
tip = ( tip = (
<p className="tip">{`拼团省¥${round( <p className="tip">{`拼团省¥${Math.round(
data.price1 - pdd_price, data.price1 - pdd_price,
2 2
)}元`}</p> )}元`}</p>
......
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