this.$router.go,和this.$router.push

1.this.$router.go(val) => 在history记录中前进或者后退val步,当val为0时刷新当前页面。

2.this.$router.push(path) => 在history栈中添加一条新的记录。