Commit ece44a8d by 李伟康

修复支付金额显示异常

1 parent 42abe1de
......@@ -200,7 +200,7 @@ const watchPageBack = () => {
}
/**分转元 */
const centsToyuan = price => {
return decimal(price / 100, 2).toFixed(2)
return decimal(Number(price) / 100, 2).toFixed(2)
}
/**设置cookie */
const setCookie = (c_name, value, expiredays = 365) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!