84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
用的这个 history模块
根据文档
import createHistory from 'history/createBrowserHistory' const history = createHistory() const location = history.location history.push('/home', { some: 'state' })
然后整个电脑 cpu 就飞快的转,浏览器也就卡死了,求解决方法
认证0级讲师
检查下是不是有死循环
检查下是不是有死循环