想从添加或者跟新页面跳转回index页面,路由跳转回去,怎么使index自动刷新数据呢

 

在index页面中 加入代码

 

export default {
   provide(){
        return{
            reload:this.reload
        }
    },
  data() {
     isRouterAlive:true 
  }
}
Logo

前往低代码交流专区

更多推荐