1、原因
这个报错是重复路由引起的。
2、解决
在push方法内添加query参数:
this.$router.push({
path: this.getTo,
query: { timestamp: Date.now() } // changes every time when clicked called
})
这个报错是重复路由引起的。
在push方法内添加query参数:
this.$router.push({
path: this.getTo,
query: { timestamp: Date.now() } // changes every time when clicked called
})