错误
NavigationDuplicated: Avoided redundant navigation to current location: "/comment/108".
解决方法
// 跳转重复路由处理
this.$router.push({ path: `/comment/${this.post.id}` }).catch(() => {});
错误
NavigationDuplicated: Avoided redundant navigation to current location: "/comment/108".
解决方法
// 跳转重复路由处理
this.$router.push({ path: `/comment/${this.post.id}` }).catch(() => {});