摘要: 1、connect in umi connect 可以链接不同的组件,从而在这个组件中使用其他组件的参数,常用于获取redux中存取的值。 2、withRouter in umi withRouter 通过withRouter可以轻松拿到当前页面的location,而location中的pathna 阅读全文
posted @ 2020-11-05 15:58 iwen1992 阅读(506) 评论(0) 推荐(0) 编辑