dva-knowledgemap icon indicating copy to clipboard operation
dva-knowledgemap copied to clipboard

路由跳转写法的困惑routerRedux.push相关

Open dib-nhnl opened this issue 6 years ago • 1 comments

在教程里,提到基于action的跳转的时候,有如下例子。 // Outside Effects dispatch(routerRedux.push('/logout'));

// With query routerRedux.push({ pathname: '/logout', query: { page: 2, }, }); 为什么带参数的跳转,不需要dispatch了呢? 感到迷茫,还请解惑。

dib-nhnl avatar Oct 12 '17 12:10 dib-nhnl

需要

LDD123 avatar Oct 17 '17 08:10 LDD123