0
点赞
收藏
分享

微信扫一扫

React页面跳转

冬冬_79d4 2022-05-06 阅读 106

第一种方法

 window.location.href = "./managerMain/managerMain.html"

如果想跳转到根路径:http://localhost:3000/ 可以这样写->

 window.location.href = "/"
举报

相关推荐

0 条评论