vue 路由

进入页面前对data赋值,再beforeRouteEnter 函数内无效,可以通过next(callback), callback默认的参数就是data

posted @ 2019-12-19 14:52  Tutao1995  阅读(150)  评论(0编辑  收藏  举报