第一种方法
window.location.href = "./managerMain/managerMain.html"
如果想跳转到根路径:http://localhost:3000/ 可以这样写->
window.location.href = "/"
React页面跳转
阅读 106
2022-05-06
window.location.href = "./managerMain/managerMain.html"
如果想跳转到根路径:http://localhost:3000/ 可以这样写->
window.location.href = "/"
相关推荐
精彩评论(0)