From 52d175d89b4801cc30c258b93789b783be0bba3b Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Tue, 07 Feb 2023 10:48:04 +0800
Subject: [PATCH] 菜单
---
src/router/route.ts | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/router/route.ts b/src/router/route.ts
index afa1cda..a29e775 100644
--- a/src/router/route.ts
+++ b/src/router/route.ts
@@ -13,7 +13,7 @@
{
path: '/home',
name: 'home',
- component: () => import('/@/views/newHome/index.vue'),
+ component: () => import('/@/views/home/index.vue'),
meta: {
title: '首页',
isLink: '',
@@ -22,9 +22,24 @@
isAffix: true,
isIframe: false,
roles: ['admin', 'common'],
- icon: 'iconfont icon-shouye'
- }
- }
+ icon: 'iconfont icon-shouye',
+ },
+ },
+ {
+ path: '/test',
+ name: 'test',
+ component: () => import('/@/views/test/index.vue'),
+ meta: {
+ title: '测试',
+ isLink: '',
+ isHide: false,
+ isKeepAlive: true,
+ isAffix: true,
+ isIframe: false,
+ roles: ['admin', 'common'],
+ icon: 'iconfont icon-shouye',
+ },
+ },
]
}
];
--
Gitblit v1.9.2