mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 14:20:21 +08:00
49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
const exception: AuthRoute.Route = {
|
|
name: 'exception',
|
|
path: '/exception',
|
|
component: 'basic',
|
|
children: [
|
|
{
|
|
name: 'exception_403',
|
|
path: '/exception/403',
|
|
component: 'self',
|
|
meta: {
|
|
title: '异常页403',
|
|
i18nTitle: 'message.routes.exception.403',
|
|
requiresAuth: true,
|
|
icon: 'ic:baseline-block'
|
|
}
|
|
},
|
|
{
|
|
name: 'exception_404',
|
|
path: '/exception/404',
|
|
component: 'self',
|
|
meta: {
|
|
title: '异常页404',
|
|
i18nTitle: 'message.routes.exception.404',
|
|
requiresAuth: true,
|
|
icon: 'ic:baseline-web-asset-off'
|
|
}
|
|
},
|
|
{
|
|
name: 'exception_500',
|
|
path: '/exception/500',
|
|
component: 'self',
|
|
meta: {
|
|
title: '异常页500',
|
|
i18nTitle: 'message.routes.exception.500',
|
|
requiresAuth: true,
|
|
icon: 'ic:baseline-wifi-off'
|
|
}
|
|
}
|
|
],
|
|
meta: {
|
|
i18nTitle: 'message.routes.exception._value',
|
|
title: '异常页',
|
|
icon: 'ant-design:exception-outlined',
|
|
order: 7
|
|
}
|
|
};
|
|
|
|
export default exception;
|