vue中导航中类似历史记录的后退和前进

this.$router.go(-1) :代表着后退

this.$router.go(1):代表着前进

猜你喜欢

转载自blog.csdn.net/aliven1/article/details/80747272