guhongwei 4 年之前
父节点
当前提交
401b1f5971
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/router/index.js

+ 3 - 0
src/router/index.js

@@ -113,6 +113,9 @@ const router = new VueRouter({
 });
 
 router.beforeEach((to, form, next) => {
+  if (to.name == 'messageInfo_index') {
+    next();
+  }
   store.commit('setUser');
   store.commit('setClass');
   store.dispatch('setting/checkCache');