edp963 / davinci

Davinci is a DVsaaS (Data Visualization as a Service) Platform
https://edp963.github.io/davinci
Apache License 2.0
4.89k stars 1.82k forks source link

这里有产生同步时的bug【here has a bug of sync】 #2333

Open Luooojunnn opened 1 year ago

Luooojunnn commented 1 year ago

https://github.com/edp963/davinci/blob/74a8cbf4d46b94048bfaa373642741769889b55d/webapp/share/containers/Dashboard/reducer.ts#L128

这里 concat 是老数据 concat 新数据,在 selecotr 的时候,find 会优先读取老数据导致一直显示老数据