import { RouteRecordRaw } from 'vue-router'; import { Layout } from '@/router/constant'; import { BellOutlined } from '@vicons/antd'; import { renderIcon } from '@/utils/index'; const routes: Array = [ // { // path: '/instation', // name: 'Instation', // redirect: '/instation/myalerts', // component: Layout, // meta: { // title: '站内通知', // icon: renderIcon(BellOutlined), // sort: 7, // }, // children: [ // { // path: 'myalerts', // name: 'myalerts', // meta: { // title: '我的通知', // }, // component: () => import('@/views/instation/myalerts/myalerts.vue'), // }, // { // path: 'notice', // name: 'instation_notice', // meta: { // title: '通知管理', // }, // component: () => import('@/views/instation/notice/notice.vue'), // }, // ], // }, ]; export default routes;