Commit 8f9f66da by 王志慧

commit

1 parent 4ece9639
......@@ -33,8 +33,10 @@ function createRouter() {
}
// http://scrm.dev.glsx.com.cn/dj-scrm-wx-work-attachment-activity/
router.beforeEach((to, from, next) => {
console.log(JSON.parse(window.localStorage.getItem('reportType')).reportType)
/* 路由发生变化修改页面title */
if (to.meta.title) {
store.dispatch('setPageMeta', to.meta)
} else {
store.dispatch('setPageMeta', { title: '嘀加·Win Consumer' })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!