this.$router.go(0)的作用 this.$router.go(val) => 在history记录中前进或者后退val步,当val为0时刷新当前页面。 JavaScript 2023-09-16 224 点赞 3 评论 339 浏览