From f02122892ee506d6955eba4aac8ddee53a5194fc Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sun, 30 Mar 2025 11:21:02 +0800
Subject: [PATCH] feat: 整体交互调整
---
src/router/views/index.js | 70 +++--------------------------------
1 files changed, 6 insertions(+), 64 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 1a9330b..500ca0f 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -1,5 +1,6 @@
import Index from '@/layout/index.vue';
import Store from '@/store/';
+import Layout from '@/page/index/layout.vue';
export default [
{
@@ -33,77 +34,18 @@
},
component: () => import(/* webpackChunkName: "TaskManage" */ '@/views/TaskManage/TaskManage.vue'),
},
- {
- path: 'dashboard',
- name: '控制台',
- meta: {
- i18n: 'dashboard',
- menu: false,
- },
- component: () => import(/* webpackChunkName: "views" */ '@/views/wel/dashboard.vue'),
- },
],
},
{
- path: '/test',
- component: Index,
- redirect: '/test/index',
+ path: '/info',
+ component: () => import('@/layout/index.vue'),
+ redirect: '/info/index',
children: [
{
path: 'index',
- name: '测试页',
- meta: {
- i18n: 'test',
- },
- component: () => import(/* webpackChunkName: "views" */ '@/views/Test.vue'),
+ name: '个人信息',
+ component: () => import('@/views/System/Userinfo.vue'),
},
],
},
- // {
- // path: '/dict-horizontal',
- // component: Layout,
- // redirect: '/dict-horizontal/index',
- // children: [
- // {
- // path: 'index',
- // name: '字典管理',
- // meta: {
- // i18n: 'dict',
- // },
- // component: () =>
- // import(/* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal.vue'),
- // },
- // ],
- // },
- // {
- // path: '/dict-vertical',
- // component: Layout,
- // redirect: '/dict-vertical/index',
- // children: [
- // {
- // path: 'index',
- // name: '字典管理',
- // meta: {
- // i18n: 'dict',
- // },
- // component: () =>
- // import(/* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical.vue'),
- // },
- // ],
- // },
- // {
- // path: '/info',
- // component: Layout,
- // redirect: '/info/index',
- // children: [
- // {
- // path: 'index',
- // name: '个人信息',
- // meta: {
- // i18n: 'info',
- // },
- // component: () => import(/* webpackChunkName: "views" */ '@/views/system/userinfo.vue'),
- // },
- // ],
- // },
];
--
Gitblit v1.9.3