Skip to content

Commit

Permalink
Merge pull request #410 from VantStark/master
Browse files Browse the repository at this point in the history
fix: 状态栏计算当日收益错误
close #399
  • Loading branch information
giscafer authored Jan 24, 2024
2 parents 95c1d2b + 7c41016 commit f09a797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/explorer/fundService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ export default class FundService extends LeekService {
yestPriceDate: PDATE,
};
this.updateTime = obj.time || '';
if (!this.fundCodesSet.has(item.FCODE)) {
this.fundCodesSet.add(item.FCODE);
if (!this.fundCodesSet.has(item.fundcode)) {
this.fundCodesSet.add(item.fundcode);
this.totalAmount += amount;
this.totalProfit += earnings;
}
Expand Down

0 comments on commit f09a797

Please sign in to comment.