problem description
I"m using local mock test data, and I see that the table search function in the official example is available, but after making corresponding changes, I find that the search function is invalid. So I want to ask Daniel
the environmental background of the problems and what methods you have tried
these are official examples. Click the query button to display the matching data in the table
related codes
/ / Please paste the code text below (do not replace the code with pictures)
handleSearch = e => {
e.preventDefault();
const { dispatch, form } = this.props;
form.validateFields((err, fieldsValue) => {
if (err) return;
const values = {
...fieldsValue,
updatedAt: fieldsValue.updatedAt && fieldsValue.updatedAt.valueOf(),
};
this.setState({
formValues: values,
});
dispatch({
type: "rule/fetch",
payload: values,
});
});
};
I can find the corresponding request method in the corresponding model and service, but cannot find the logic of query processing