2020年10月19日

beforeEach

摘要: router.beforeEach((to, from, next) => { let path = to.path.split('/').pop() if (obj[path]) { document.title = obj[path] next() } // 跳转到其他暂无数据页面 next() 阅读全文

posted @ 2020-10-19 13:02 章画 阅读(237) 评论(0) 推荐(0) 编辑

导航