Skip to content

Commit

Permalink
fix: 账单 统计图标 汇率换算错误
Browse files Browse the repository at this point in the history
  • Loading branch information
aweikalee committed Sep 8, 2024
1 parent eefaf2e commit 686cc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Bill/components/ChartMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ map.push({
lists.forEach((item) => {
const { payer, participant, balance } = item
const amount =
Number(item.amount) * getters.getCurrencyRate(item.currency)
Number(item.amount) / getters.getCurrencyRate(item.currency)
const amountPart = amount / participant.length
const realBalance = Object.assign([], payer, balance)

Expand Down

0 comments on commit 686cc10

Please sign in to comment.