Skip to content

Commit b145491

Browse files
1.5.1
1 parent 9287d0b commit b145491

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
![Instructions.gif](https://s1.ax1x.com/2020/08/19/dQ8R3t.gif)
1717

18+
### v1.5.1
19+
20+
- 今日收益确认无需等待持仓数量为0的基金
21+
1822
### v1.5.0
1923

2024
- 退出当前插件时,停止查询

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "utools-fund",
3-
"version": "v1.5.0",
3+
"version": "v1.5.1",
44
"description": "自选基金助手",
55
"main": "main.ts",
66
"scripts": {

src/features/fundMy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const fundDetailsToCbList = (dbList: DBItem<IFundEnt>[], searchWord = '') => {
9292
} else {
9393
cbList = [
9494
{
95-
title: `今日总收益 ${dbList.every(x => !x.data.isValuation) ? '✅' : ''}`,
95+
title: `今日总收益 ${dbList.filter(x => x.data.holdCount > 0).every(x => !x.data.isValuation) ? '✅' : ''}`,
9696
description: `¥${sumIncome.toFixed(2)}`,
9797
icon: sumIncome >= 0 ? 'assets/img/up.png' : 'assets/img/down.png',
9898
searchWord,

0 commit comments

Comments
 (0)