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
  • demo
  • iframe.ts
  • fix(menu): fix externalLink not work
    7bae4c37
    vben authored
    2020-12-07 23:56:57 +0800  
    Browse Code ยป
iframe.ts 485 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
import type { MenuModule } from '/@/router/types.d';

const menu: MenuModule = {
  orderNo: 1000,
  menu: {
    name: 'routes.demo.iframe.frame',
    path: '/frame',
    children: [
      {
        path: 'antv',
        name: 'routes.demo.iframe.antv',
      },
      {
        path: 'doc',
        name: 'routes.demo.iframe.doc',
      },
      {
        path: 'https://vvbin.cn/doc-next/',
        name: 'routes.demo.iframe.docExternal',
      },
    ],
  },
};
export default menu;