Commit dd052e8f authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 表格状态变更

parent 6fac66f1
...@@ -120,9 +120,12 @@ const NiceForm: React.FC<NiceFormProps> = props => { ...@@ -120,9 +120,12 @@ const NiceForm: React.FC<NiceFormProps> = props => {
useEffect(() => { useEffect(() => {
let paginationInfo: currentStateType = getCurrentState(); let paginationInfo: currentStateType = getCurrentState();
reset.actions.setFormState( if (paginationInfo) {
state => (state.values = paginationInfo.queryParams), reset.actions.setFormState(
); state => (state.values = paginationInfo.queryParams),
);
}
}, []) }, [])
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment