vue-vben-admin/src/router/menus/modules/demo/exception.ts

36 lines
609 B
TypeScript
Raw Normal View History

2020-09-28 20:19:10 +08:00
import type { MenuModule } from '/@/router/types.d';
const menu: MenuModule = {
orderNo: 500,
menu: {
name: '异常页',
path: '/exception',
children: [
2020-11-03 22:26:26 +08:00
{
path: '403',
name: '403',
},
2020-09-28 20:19:10 +08:00
{
2020-10-22 23:56:33 +08:00
path: '404',
2020-09-28 20:19:10 +08:00
name: '404',
},
{
2020-10-22 23:56:33 +08:00
path: '500',
2020-09-28 20:19:10 +08:00
name: '500',
},
{
2020-10-22 23:56:33 +08:00
path: 'net-work-error',
2020-09-28 20:19:10 +08:00
name: '网络错误',
},
{
2020-10-22 23:56:33 +08:00
path: 'page-time-out',
2020-09-28 20:19:10 +08:00
name: '页面超时',
},
{
2020-10-22 23:56:33 +08:00
path: 'not-data',
2020-09-28 20:19:10 +08:00
name: '无数据',
},
],
},
};
export default menu;