鍍金池/ 問答/網(wǎng)絡(luò)安全  HTML/ Antd pro table 頁面

Antd pro table 頁面

1、antd pro table列表展示頁篩選后點(diǎn)擊頭部查詢按鈕,數(shù)據(jù)為全部數(shù)據(jù),但篩選框中的選中仍然在,怎么去除呢

2、[全查數(shù)據(jù)展示]

clipboard.png

[篩選后數(shù)據(jù)]

只有一頁

clipboard.png

[點(diǎn)擊查詢按鈕后返回全部數(shù)據(jù),篩選的條件仍存在]

clipboard.png

回答
編輯回答
誮惜顏

圖片沒加載出來了,請(qǐng)重新上傳

2018年9月10日 18:52
編輯回答
練命
  • 篩選條件把 state中的篩選值清空
  • 復(fù)選框選擇 把table屬性的selections state清空
2017年1月13日 00:57