1) 增加重置后table 为空
This commit is contained in:
parent
d5aba67616
commit
3405ba0312
|
@ -244,7 +244,7 @@ const UseKeyList = () => {
|
||||||
* 重置
|
* 重置
|
||||||
*/
|
*/
|
||||||
const resetBtn = () => {
|
const resetBtn = () => {
|
||||||
setState({ page: 1, limit: 10, hash: "" });
|
setState({ page: 1, limit: 10, hash: "", tableData: [] });
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue