@connect(({ editnews,global, loading }) => ({
global,
editnews,
loading: loading.models.editnews,
timeLoading: loading.effects["editnews/getCollections"],
}))
componentDidMount() {
message.warning(",",10)
const { dispatch} = this.props;
dispatch({
type: "editnews/getCollections",
payload: {}
});
}
render() {
const {
editnews: { data, data: { pagination }, collections },
loading,
timeLoading,
} = this.props;
console.log(pagination)