diff --git a/src/biz/Menu.js b/src/biz/Menu.js index 9a1f684..f9f2432 100644 --- a/src/biz/Menu.js +++ b/src/biz/Menu.js @@ -2,7 +2,7 @@ * @Author: Billy * @Date: 2021-12-18 02:20:09 * @LastEditors: Billy - * @LastEditTime: 2022-03-07 14:36:12 + * @LastEditTime: 2022-03-07 15:26:48 * @Description: 请输入 */ @@ -10,12 +10,15 @@ import MenuItem from "../entity/Ui/Menu/MenuItem.js"; async function getMainMenuItems() { return [ - new MenuItem({ - id: 'ProductAndCases', - title: '产品案例', - - routerName: 'ProductAndCases', + id: 'Test', + title: '测试', + routerName: 'Test', + }), + new MenuItem({ + id: 'Test2', + title: '测试2', + routerName: 'Test2', }), // 内部标签 new MenuItem({ diff --git a/src/router/_index.js b/src/router/_index.js index 748475b..f1f9782 100644 --- a/src/router/_index.js +++ b/src/router/_index.js @@ -2,7 +2,7 @@ * @Author: Billy * @Date: 2020-09-10 09:12:00 * @LastEditors: Billy - * @LastEditTime: 2022-03-07 13:35:34 + * @LastEditTime: 2022-03-07 15:30:56 * @Description: 静态路由 */ import Vue from 'vue' @@ -30,7 +30,7 @@ const routes = [{ // alias: '/home', name: 'Home', redirect: { - name: 'ProductAndCases' + name: 'Test' }, component: Home, meta: { diff --git a/src/router/test.js b/src/router/test.js index f149252..8ac944f 100644 --- a/src/router/test.js +++ b/src/router/test.js @@ -2,8 +2,8 @@ * @Author: Billy * @Date: 2021-07-15 14:34:11 * @LastEditors: Billy - * @LastEditTime: 2021-12-20 11:16:48 - * @Description: 用户角色权限相关路由 + * @LastEditTime: 2022-03-07 15:28:07 + * @Description: 测试 */ export default [{ diff --git a/src/views/HomeSubViews/Test/Test.vue b/src/views/HomeSubViews/Test/Test.vue index b4e1c63..18e737e 100644 --- a/src/views/HomeSubViews/Test/Test.vue +++ b/src/views/HomeSubViews/Test/Test.vue @@ -2,60 +2,22 @@ * @Author: Billy * @Date: 2020-09-10 18:42:33 * @LastEditors: Billy - * @LastEditTime: 2021-12-19 03:26:04 + * @LastEditTime: 2022-03-07 15:28:39 * @Description: 请输入 -->