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: 'Notice', // redirect: '/instation/myalerts', // component: Layout, // meta: { // title: '站内通知', // icon: renderIcon(BellOutlined), // sort: 10, // }, // children: [ // { // path: 'myalerts', // name: 'instation_myalerts', // meta: { // title: '我的通知', // }, // component: () => import('@/views/instation/myalerts/myalerts.vue'), // }, // { // path: 'notice', // name: 'instation_notice', // meta: { // title: '通知管理', // }, // component: () => import('@/views/instation/notice/notice.vue'), // }, // { // path: 'notice/info/:id', // name: 'instation_notice_info', // meta: { // title: '查看通知', // hidden: true, // }, // component: () => import('@/views/instation/notice/info.vue'), // }, // ], // }, ]; export default routes;