Sign in

canrd-outside / order-erp-front · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 1
  • Labels
  • Wiki
  • order-erp-front
  • src
  • router
  • menus
  • modules
  • dashboard.ts
  • feat: add tag display to the menu
    a3887f8c
    vben authored
    2020-11-10 23:16:42 +0800  
    Browse Code »
dashboard.ts 519 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
import type { MenuModule } from '/@/router/types.d';
const menu: MenuModule = {
  orderNo: 10,
  menu: {
    name: 'Dashboard',
    path: '/dashboard',
    // tag: {
    //   dot: true,
    // },
    children: [
      {
        path: '/workbench',
        name: '工作台',
        // tag: {
        //   content: 'new',
        // },
      },
      {
        path: '/analysis',
        name: '分析页',
      },
      {
        path: '/welcome',
        name: '首页',
      },
    ],
  },
};
export default menu;