Newer
Older
smartKitchenFront / src / router / modules / accountManagement.js
Stephanie on 2 Nov 2022 1 KB FIX: 修改路由权限配置
/* Layout */
import Layout from '@/layout/Layout'

export const accountManagemant = [{
  path: 'accountManagemant',
  component: Layout,
  redirect: '/exampleTable', // 重定向
  name: 'AccountManagemant',
  alwaysShow: true,
  meta: {
    title: '账号管理',
    icon: '账号管理', // 图标
    permission: '/account/main'
  },
  children: [
    {
      path: '/stateView',
      name: 'StateView',
      component: () => import('@/views/account/stateView'), // 重定向的组件位置
      meta: { title: '状态查看', icon: '', permission: '/account/state' }
    }
    // {
    //   path: '/information1',
    //   name: 'Information1',
    //   component: () => import('@/views/account/information1'), //重定向的组件位置
    //   meta: { title: '信息填写', icon: '' }
    // }
    // {
    //   path: '/information',
    //   name: 'Information',
    //   component: () => import('@/views/account/information'), //重定向的组件位置
    //   meta: {title: '信息填报', icon: ''}
    // }
  ]
}]