解决方式:
this.$router.push({name:'editCompany',query:{id:obj.goalCompany,date:new Date().getTime()}})
2.在当前页面的那个文件监听$route,然后调用自己的方法
watch: { $route() { //写自己的方法 }, },
京公网安备 11010502049817号