网络日志

vue大屏, 免登录显示数据

  1. router.config.js
{
    path: '/queueScreen',
    name: 'queueScreen',
    component: () => import(/* webpackChunkName: "user" */ '@/views/customstg/QueueScreen')
  },
  {
    path: '/billScreen',
    name: 'billScreen',
    component: () => import(/* webpackChunkName: "user" */ '@/views/customstg/BillScreen')
  },
  1. 白名单permission.js

const whiteList = ['/billScreen',

ps, 注意斜杠

  1. 最后在index.js中使用路由策略信息

import { constantRouterMap } from '@/config/router.config'