account/deposit的笔误
This commit is contained in:
parent
631fc50d8c
commit
d503341ffb
|
|
@ -52,7 +52,7 @@ export default OakComponent({
|
|||
}
|
||||
else if (PAY_ORG_CHANNELS.includes(next.channel) && (!prev.channel || !PAY_ORG_CHANNELS.includes(prev.channel))) {
|
||||
// 计算损耗
|
||||
const ratio = this.features.pay.getDepositRatio(prev.channel);
|
||||
const ratio = this.features.pay.getDepositRatio(next.channel);
|
||||
if (ratio > 0) {
|
||||
const ratioDelta = Math.floor(price * ratio / 100);
|
||||
this.onPriceChange(ToYuan(price + ratioDelta), true, ratioDelta);
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ export default OakComponent({
|
|||
}
|
||||
else if (PAY_ORG_CHANNELS.includes(next.channel) && (!prev.channel || !PAY_ORG_CHANNELS.includes(prev.channel))) {
|
||||
// 计算损耗
|
||||
const ratio = this.features.pay.getDepositRatio(prev.channel);
|
||||
const ratio = this.features.pay.getDepositRatio(next.channel);
|
||||
if (ratio > 0) {
|
||||
const ratioDelta = Math.floor(price * ratio / 100);
|
||||
this.onPriceChange(ToYuan(price + ratioDelta), true, ratioDelta);
|
||||
|
|
|
|||
Loading…
Reference in New Issue