x2rr / funds

自选基金助手是一款Chrome扩展,用来快速获取关注基金的实时数据,查看自选基金的实时估值情况
https://x2rr.github.io/funds/docs/dist/index.html
GNU General Public License v3.0
2.23k stars 279 forks source link

3.0.5基金添加不上 #223

Closed vvanglro closed 1 year ago

x2rr commented 1 year ago

请提供详细信息

vvanglro commented 1 year ago

就是这样操作来添加基金的吧.. 操作没有问题吧..

https://github.com/x2rr/funds/assets/43594924/76316bd9-0161-4d86-a0c7-bb27c2f6542c

x2rr commented 1 year ago

已添加的基金中可能存在异常或错误基金代码,导致报错,可在设置中导出后查看

vvanglro commented 1 year ago

我是卸载完全重装过插件的, 貌似搜索出来的任何基金都无法添加.

这是导出的json文本:

{
    "fundListM": [{
        "code": "968061",
        "num": 0
    }, {
        "code": "014141",
        "num": 0
    }, {
        "code": "004141",
        "num": 0
    }, {
        "code": "161725",
        "num": 0
    }, {
        "code": "012414",
        "num": 0
    }, {
        "code": "012070",
        "num": 0
    }, {
        "code": "000545",
        "num": 0
    }, {
        "code": "012266",
        "num": 0
    }, {
        "code": "005454",
        "num": 0
    }, {
        "code": "970088",
        "num": 0
    }, {
        "code": "014444",
        "num": 0
    }],
    "grayscaleValue": 0,
    "isLiveUpdate": false,
    "userId": "d462080d-ff34-468d-9885-e1260e7fa1fd",
    "version": "3.0.5"
}
x2rr commented 1 year ago

先删除这条,这条基金已经无法请求到数据,导致报错 { "code": "968061", "num": 0 },