Newer
Older
smartKitchenFront / src / router / modules / storeManagement.js
liuyangyingjie on 31 Oct 2022 953 bytes feat(修改问题,添加注释): 整体提交
/* Layout */
import Layout from '@/layout/Layout'
export const storeManagement = [{
  path: '/staticshop',
  // component: Layout,
  // redirect: '/exampleTable', // 重定向
  name: 'staticshop',
   component: () => import('@/views/static/shop'), //重定向的组件位置
  // alwaysShow: true,
  meta: {
    title: '商城',
    icon: '商城' // 图标
  },
  // children: [
  //   {
  //     path: '/exampleTable',
  //     name: 'ExampleTable',
  //     // component: () => import('@/views/example/tableExample'), //重定向的组件位置
  //     meta: { title: '商城', icon: '商城' }
  //   }
  // ]
}]
// path: '/',
// component: Layout,
// redirect: 'dashboard',
// name: '/',
// // hidden: true,
// children: [{
//   path: 'dashboard',
//   name: 'Dashboard',
//   component: () => import('@/views/dashboard/index'), //跳转的页面
//   meta: { title: '驾驶舱看板', icon: '驾驶舱看板', noCache: true, affix: true }
// }]