IOS 不支持this.$router.go解决办法

在使用Vue路由实例对象$router.go进行页面切换时ios是不起作用得,可以使用 location.href = "javascript:history.go(-2);" 解决
posted @ 2023-03-22 18:06  SadicZhou  阅读(151)  评论(0编辑  收藏  举报