解决使用this.$router.push()方法页面跳转后不加载列表刷新的方法问题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决使用this.$router.push()方法页面跳转后不加载列表刷新的方法问题相关的知识,希望对你有一定的参考价值。

参考技术A 参考资料 https://blog.csdn.net/qq_43639296/article/details/96570089

VueRouter 中' this.$router.push '跳转页面不刷新的问题解决

在跳转后页面添加:
mounted(){
this.getList();//重新加载数据
}
或者
activated(){
this.getList();//重新加载数据
}

以上是关于解决使用this.$router.push()方法页面跳转后不加载列表刷新的方法问题的主要内容,如果未能解决你的问题,请参考以下文章