mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:13:40 +08:00
feat: add result page demo
This commit is contained in:
@@ -88,6 +88,16 @@ const menu: MenuModule = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/form',
|
||||
name: '验证组件',
|
||||
children: [
|
||||
{
|
||||
path: '/base',
|
||||
name: '拖拽校验',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@@ -1,35 +0,0 @@
|
||||
import type { MenuModule } from '/@/router/types.d';
|
||||
const menu: MenuModule = {
|
||||
orderNo: 500,
|
||||
menu: {
|
||||
name: '异常页',
|
||||
path: '/exception',
|
||||
children: [
|
||||
{
|
||||
path: '403',
|
||||
name: '403',
|
||||
},
|
||||
{
|
||||
path: '404',
|
||||
name: '404',
|
||||
},
|
||||
{
|
||||
path: '500',
|
||||
name: '500',
|
||||
},
|
||||
{
|
||||
path: 'net-work-error',
|
||||
name: '网络错误',
|
||||
},
|
||||
{
|
||||
path: 'page-time-out',
|
||||
name: '页面超时',
|
||||
},
|
||||
{
|
||||
path: 'not-data',
|
||||
name: '无数据',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
export default menu;
|
@@ -1,8 +1,8 @@
|
||||
import type { MenuModule } from '/@/router/types.d';
|
||||
const menu: MenuModule = {
|
||||
orderNo: 10,
|
||||
orderNo: 19,
|
||||
menu: {
|
||||
name: '页面功能',
|
||||
name: '功能',
|
||||
path: '/feat',
|
||||
children: [
|
||||
{
|
||||
|
57
src/router/menus/modules/demo/page.ts
Normal file
57
src/router/menus/modules/demo/page.ts
Normal file
@@ -0,0 +1,57 @@
|
||||
import type { MenuModule } from '/@/router/types.d';
|
||||
const menu: MenuModule = {
|
||||
orderNo: 20,
|
||||
menu: {
|
||||
name: '页面',
|
||||
path: '/page-demo',
|
||||
tag: {
|
||||
dot: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'result',
|
||||
name: '结果页',
|
||||
tag: {
|
||||
content: 'new',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'success',
|
||||
name: '成功页',
|
||||
},
|
||||
{
|
||||
path: 'fail',
|
||||
name: '失败页',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'exception',
|
||||
name: '异常页',
|
||||
children: [
|
||||
{
|
||||
path: '403',
|
||||
name: '403',
|
||||
},
|
||||
{
|
||||
path: '404',
|
||||
name: '404',
|
||||
},
|
||||
{
|
||||
path: '500',
|
||||
name: '500',
|
||||
},
|
||||
{
|
||||
path: 'net-work-error',
|
||||
name: '网络错误',
|
||||
},
|
||||
{
|
||||
path: 'not-data',
|
||||
name: '无数据',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
export default menu;
|
@@ -1,6 +1,6 @@
|
||||
import type { MenuModule } from '/@/router/types.d';
|
||||
const menu: MenuModule = {
|
||||
orderNo: 20,
|
||||
orderNo: 15,
|
||||
menu: {
|
||||
name: '权限管理',
|
||||
path: '/permission',
|
||||
|
Reference in New Issue
Block a user