LeekHub / leek-fund

:chart_with_upwards_trend: 韭菜盒子——VSCode 里也可以看股票 & 基金实时数据,做最好用的投资插件 🐥
http://leek.fund
BSD 3-Clause "New" or "Revised" License
3.04k stars 436 forks source link

韭菜之家 =>我的自选一直显示loading #294

Closed iarjian closed 2 years ago

iarjian commented 2 years ago

Bug Report

韭菜之家 =>我的自选一直显示loading

Current Behavior?

更新至2.1.0后续版本出现 2.1.0之前的版本显示正常

Expected Behavior?

应该数据正常加载 可进行价格预警

Steps to reproduce [Optional]

Your Environment [Optional]

windows 10 ,vscode 版本1.65.2

James-chok commented 2 years ago

TypeError: Converting circular structure to JSON --> starting at object with constructor 'ClientRequest'

request造成了循环引用,所以 const { ...rawResponse } = response; 之前写成这样 const { request, ...rawResponse } = response; 是有原因的😂. @giscafer