路由传参

2020-02-24  本文已影响0人  木头木头我是木头

例:

传:
const isYes=true;

this.props.dispatch(
routerRedux.push({
pathname: 'XXXX',isYes
})
);

接:
this.props.location.isYes

上一篇 下一篇

猜你喜欢

热点阅读