Vue 页面组件之间 路由跳转 跳转自动刷新
想从添加或者跟新页面跳转回index页面,路由跳转回去,怎么使index自动刷新数据呢在index页面中 加入代码export default {provide(){return{reload:this.reload}},data() {isRouterAlive:true...
·
想从添加或者跟新页面跳转回index页面,路由跳转回去,怎么使index自动刷新数据呢
在index页面中 加入代码
export default {
provide(){
return{
reload:this.reload
}
},
data() {
isRouterAlive:true
}
}
更多推荐
已为社区贡献7条内容
所有评论(0)