mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化代码
This commit is contained in:
parent
1589991af5
commit
f2d526be4e
@ -86,6 +86,7 @@
|
||||
},
|
||||
_computedAmount: function(){
|
||||
let amount = vc.component.prestoreAccount2Info.receivedAmount - vc.component.prestoreAccount2Info.totalAmount;
|
||||
amount = amount.toFixed(2);
|
||||
vc.component.prestoreAccount2Info.amount = amount < 0 ? 0 : amount;
|
||||
},
|
||||
clearPrestoreAccount2Info: function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user