用的这个 history模块
根据文档
import createHistory from 'history/createBrowserHistory'
const history = createHistory()
const location = history.location
history.push('/home', { some: 'state' })
然后整个电脑 cpu 就飞快的转,浏览器也就卡死了,求解决方法
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
检查下是不是有死循环