running-elephant / datart

Datart is a next generation Data Visualization Open Platform
https://running-elephant.github.io/datart-docs/
Apache License 2.0
1.97k stars 590 forks source link

官方demo网站上,数据图表是表格,筛选条件项内容清空后,跳到第2页时,数据消失了 #2184

Open ElianChen opened 1 year ago

ElianChen commented 1 year ago

Datart Version The version of datart you using.

Describe the bug http://datart-demo.retech.cc/shareChart/55f05b7746934c3cb1958ace3ba1e79e?type=NONE

To Reproduce Steps to reproduce the behavior:

  1. 清空输入框里的值,按回车键。表格里加载了很多页的数据。
  2. 点击分页号2,表格里没数据了。预期有数据。

image

Environmental details: (optional, depending on where the bug occurs)

Additional context ChartPreviewBoardForShare.tsx文件中fetchShareDataSetByPreviewChartAction入参中的chartPreview有问题,预期filter中的value是空字符串,但实际是“B”

ElianChen commented 1 year ago

pull request 【修改筛选条件后,表格切换页码时的筛选条件未同步修改的问题 #2198】中解决了该issue