Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未捕获的错误(1),并且插件基本无法使用 #471

Open
adhehe opened this issue Sep 6, 2024 · 13 comments
Open

未捕获的错误(1),并且插件基本无法使用 #471

adhehe opened this issue Sep 6, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@adhehe
Copy link

adhehe commented Sep 6, 2024

C75D3610-43F6-40a1-9212-67967D5387C6

@giscafer
Copy link
Member

giscafer commented Sep 7, 2024

还有人一样吗,回复一下

@Nicooo-Ni
Copy link

Snipaste_2024-09-12_11-13-27

还有人一样吗,回复一下

@denjay
Copy link

denjay commented Sep 14, 2024

一样,添加不了股票了,而且所有股票都是显示红色向上箭头
image

@adhehe
Copy link
Author

adhehe commented Sep 14, 2024

现在又能用了,但时不时就添加不了股票,还有就是上下移动的时候会删除原有的股票,到最后一条的时候弹信息说无法删除期货?莫名其妙的!有些指数还添加不了,比如银行,等等!还需努力呀

@giscafer
Copy link
Member

giscafer commented Sep 15, 2024

3.11.6 版本看看

@giscafer giscafer added the bug Something isn't working label Sep 15, 2024
@denjay
Copy link

denjay commented Sep 16, 2024

3.11.6 版本看看

可以添加股票了,至于全部显示向上红箭头的问题,是因为这个设置"leek-fund.iconType": "food",我把它删掉就正常了

@giscafer
Copy link
Member

3.11.6 版本看看

可以添加股票了,至于全部显示向上红箭头的问题,是因为这个设置"leek-fund.iconType": "food",我把它删掉就正常了

个性设置>涨跌图标更换 进行修改应该可以解决吧

@denjay
Copy link

denjay commented Sep 18, 2024

3.11.6 版本看看

可以添加股票了,至于全部显示向上红箭头的问题,是因为这个设置"leek-fund.iconType": "food",我把它删掉就正常了

个性设置>涨跌图标更换 进行修改应该可以解决吧

为默认值时正常,设为food就不正常

@duoni2023
Copy link

为啥我的股票还是不能添加,显示添加成功了,配置里也写进去了,就是页面上没有显示

@giscafer
Copy link
Member

@duoni2023 贴一下 settings 配置文件看看

@duoni2023
Copy link

@duoni2023 贴一下 settings 配置文件看看

{
"leek-fund.stocks": [
"sh000001",
"sh000300",
"sh000016",
"sh000688",
"hk03690",
"hk00700",
"usr_ixic",
"usr_dji",
"usr_inx",
"nf_IF0",
"nf_IH0",
"nf_IC0",
"nf_IM0",
"hf_OIL",
"hf_CHA50CFD",
"sz002153",
"sz159632",
"sz162411"
],

"leek-fund.funds": [
    [
        "003359",
        "004685",
        "007467",
        "008164",
        "016858",
        "006195",
        "003377",
        "001593"
    ],
    [
        "015311",
        "006105",
        "012349"
    ],
    [
        "016668",
        "017811",
        "014855"
    ],
    [
        "005506",
        "012414",
        "017787"
    ],
    [
        "008591",
        "015860",
        "012769",
        "001595"
    ],
    [
        "013273",
        "013054",
        "013082"
    ],
    [
        "011103",
        "000217"
    ],
    [
        "014415",
        "012725",
        "015210"
    ]
],
"leek-fund.fundGroups": [
    "我的基金",
    "qdii",
    "半导体",
    "药酒",
    "证券",
    "基建",
    "新能源",
    "农业"
],
"leek-fund.fundAmount": {
    "003359": {
        "name": "大成360互联网+大数据100C",
        "amount": 30828.8,
        "price": "1.5891",
        "unitPrice": 1.7578,
        "earnings": 164.9,
        "priceDate": "2024-09-20"
    },
    "004685": {
        "name": "金元顺安元启灵活配置混合",
        "amount": 10459.4,
        "price": "3.8036",
        "unitPrice": 3.0071,
        "earnings": 56.1,
        "priceDate": "2024-09-20"
    },
    "007467": {
        "name": "华泰柏瑞中证红利低波ETF联接C",
        "amount": 6097.4,
        "price": "1.4513",
        "unitPrice": 1.6659,
        "earnings": -26.47,
        "priceDate": "2024-09-20"
    },
    "016858": {
        "name": "国金量化多因子股票C",
        "amount": 2647.6,
        "price": "1.5844",
        "unitPrice": 1.8127,
        "earnings": 2.17,
        "priceDate": "2024-09-20"
    },
    "006195": {
        "name": "国金量化多因子股票A",
        "amount": 3329.17,
        "price": "1.5962",
        "unitPrice": 2.0038,
        "earnings": 3.55,
        "priceDate": "2024-09-20"
    },
    "003377": {
        "name": "广发中债7-10年国开债指数C",
        "amount": 0,
        "price": "1.2423",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "015311": {
        "name": "华泰柏瑞恒生科技ETF联接(QDII)C",
        "amount": 0,
        "price": "0.8561",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "012349": {
        "name": "天弘恒生科技指数(QDII)C",
        "amount": 0,
        "price": "0.5090",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "011103": {
        "name": "天弘中证光伏产业指数C",
        "amount": 6277.73,
        "price": "0.5449",
        "unitPrice": 0.7138,
        "earnings": 26.5,
        "priceDate": "2024-09-20"
    },
    "000217": {
        "name": "华安黄金易ETF联接C",
        "amount": 0,
        "price": "1.9584",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "005506": {
        "name": "前海开源中药股票C",
        "amount": 8071.4,
        "price": "1.9161",
        "unitPrice": 2.5862,
        "earnings": 28.22,
        "priceDate": "2024-09-20"
    },
    "012414": {
        "name": "招商中证白酒指数(LOF)C",
        "amount": 5403.45,
        "price": "0.6716",
        "unitPrice": 0.9902,
        "earnings": 6.44,
        "priceDate": "2024-09-20"
    },
    "017787": {
        "name": "万家宏观择时多策略混合C",
        "amount": 0,
        "price": "2.2413",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "017811": {
        "name": "东方人工智能主题混合C",
        "amount": 769.03,
        "price": "0.7268",
        "unitPrice": 0.9943,
        "earnings": -1.9,
        "priceDate": "2024-09-20"
    },
    "014855": {
        "name": "嘉实中证半导体指数增强发起式C",
        "amount": 7395.04,
        "price": "0.8339",
        "unitPrice": 1.0713,
        "earnings": -13.3,
        "priceDate": "2024-09-20"
    },
    "013273": {
        "name": "招商沪深300地产等权重指数C",
        "amount": 0,
        "price": "0.3089",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "013054": {
        "name": "天弘国证龙头家电指数C",
        "amount": 0,
        "price": "1.0297",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "013082": {
        "name": "中信保诚中证基建工程指数(LOF)C",
        "amount": 0,
        "price": "0.5929",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "014415": {
        "name": "招商中证畜牧养殖ETF联接C",
        "amount": 15859.26,
        "price": "0.6694",
        "unitPrice": 0.9678,
        "earnings": 99.51,
        "priceDate": "2024-09-20"
    },
    "012725": {
        "name": "国泰中证畜牧养殖ETF联接C",
        "amount": 3110.79,
        "price": "0.6019",
        "unitPrice": 0.9674,
        "earnings": 19.64,
        "priceDate": "2024-09-20"
    },
    "015210": {
        "name": "前海开源沪港深农业混合C",
        "amount": 4781.43,
        "price": "0.8858",
        "unitPrice": 1.0954,
        "earnings": 31.31,
        "priceDate": "2024-09-20"
    },
    "008591": {
        "name": "天弘中证全指证券公司ETF联接C",
        "amount": 34736.97,
        "price": "0.9008",
        "unitPrice": 1.0373,
        "earnings": 223.66,
        "priceDate": "2024-09-20"
    },
    "015860": {
        "name": "宝盈国证证券龙头指数发起C",
        "amount": 12971.77,
        "price": "0.8923",
        "unitPrice": 0.8942,
        "earnings": 94.49,
        "priceDate": "2024-09-20"
    },
    "012769": {
        "name": "华夏中证动漫游戏ETF联接C",
        "amount": 4048.67,
        "price": "0.8237",
        "unitPrice": 1.2273,
        "earnings": 107.15,
        "priceDate": "2024-09-20"
    },
    "001595": {
        "name": "天弘中证银行ETF联接C",
        "amount": 0,
        "price": "1.3227",
        "unitPrice": 0,
        "earnings": 0,
        "priceDate": "2024-09-04"
    },
    "001593": {
        "name": "天弘创业板ETF联接基金C",
        "amount": 8757.55,
        "price": "0.6293",
        "unitPrice": 0.8622,
        "earnings": 0,
        "priceDate": "2024-09-20"
    }
},
"leek-fund.stockPrice": {
    "sz002153": {
        "name": "石基信息",
        "amount": 500,
        "price": "5.08",
        "unitPrice": 5.998,
        "earnings": 0
    },
    "sz159985": {
        "name": "豆粕ETF",
        "amount": 0,
        "price": "1.874",
        "unitPrice": 0,
        "earnings": 0
    },
    "sh600588": {
        "name": "用友网络",
        "amount": 0,
        "price": "8.31",
        "unitPrice": 0,
        "earnings": 0
    },
    "sz159632": {
        "name": "纳斯达克",
        "amount": 400,
        "price": "1.630",
        "unitPrice": 1.644,
        "earnings": 0
    }
},
"leek-fund.binance": [

    

    "BTC_USDT",
    "ETH_USDT",
    "EOS_USDT"
]

}

@duoni2023
Copy link

duoni2023 commented Sep 23, 2024


image

页面能显示的新增只有 石基、纳斯达克两个,且所有股票无法删除

@giscafer
Copy link
Member

giscafer commented Sep 23, 2024

@duoni2023 如果是windows系统,尝试关闭VSCode,然后右键管理员启动试试,排查一下是否是没有权限更新settings.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants