From a94ad47825c6dc2fc7b42e910256406bd5fab8c8 Mon Sep 17 00:00:00 2001 From: deng <1559799626@qq.com> Date: Sat, 15 Jul 2023 18:19:36 +0800 Subject: [PATCH] . --- .../src/config/router.config.js | 50 ------------------- .../newLayout/module/Demo4NewLayoutList.vue | 5 +- 2 files changed, 2 insertions(+), 53 deletions(-) diff --git a/ant-design-vue-jeecg/src/config/router.config.js b/ant-design-vue-jeecg/src/config/router.config.js index 692b962..0947c7f 100644 --- a/ant-design-vue-jeecg/src/config/router.config.js +++ b/ant-design-vue-jeecg/src/config/router.config.js @@ -17,7 +17,6 @@ import { UserLayoutSchedule, UserLayoutEquip, PageView - PageView } from '@/components/layouts' /** @@ -316,8 +315,6 @@ export const asyncRouterMap = [ meta: { title: '首页' }, redirect: '/dashboard/analysis' } - redirect: '/dashboard/analysis' - } ] /** @@ -362,9 +359,6 @@ export const constantRouterMap = [ { path: 'loginbx', name: 'loginbx', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -393,9 +387,6 @@ export const constantRouterMap = [ { path: 'logindroduction', name: 'logindroduction', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -410,9 +401,6 @@ export const constantRouterMap = [ { path: 'loginfitting', name: 'loginfitting', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -427,9 +415,6 @@ export const constantRouterMap = [ { path: 'loginglobal', name: 'loginglobal', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -444,9 +429,6 @@ export const constantRouterMap = [ { path: 'loginworkmanship', name: 'loginworkmanship', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -461,9 +443,6 @@ export const constantRouterMap = [ { path: 'loginworkorder', name: 'loginworkorder', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -478,9 +457,6 @@ export const constantRouterMap = [ { path: 'loginequip', name: 'loginequip', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -495,9 +471,6 @@ export const constantRouterMap = [ { path: 'loginschedule', name: 'loginschedule', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -512,9 +485,6 @@ export const constantRouterMap = [ { path: 'loginsimulation', name: 'loginsimulation', - component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') - } - ] component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') } @@ -529,14 +499,12 @@ export const constantRouterMap = [ { path: 'login', name: 'login', - component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login') component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login') }, { path: 'register', name: 'register', - component: () => import(/* webpackChunkName: "user" */ '@/views/user/register/Register') component: () => import( /* webpackChunkName: "user" */ '@/views/user/register/Register' @@ -545,7 +513,6 @@ export const constantRouterMap = [ { path: 'register-result', name: 'registerResult', - component: () => import(/* webpackChunkName: "user" */ '@/views/user/register/RegisterResult') component: () => import( /* webpackChunkName: "user" */ '@/views/user/register/RegisterResult' @@ -554,9 +521,6 @@ export const constantRouterMap = [ { path: 'alteration', name: 'alteration', - component: () => import(/* webpackChunkName: "user" */ '@/views/user/alteration/Alteration') - } - ] component: () => import( /* webpackChunkName: "user" */ '@/views/user/alteration/Alteration' @@ -599,21 +563,16 @@ export const constantRouterMap = [ name: 'TestHome', component: () => import('@/views/Home') } - ] - component: () => import('@/views/Home') - } ] }, { path: '/404', - component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') }, { path: '/atlas', - component: () => import(/* webpackChunkName: "fail" */ '@/views/xmtp/SeKnowAtlasList') component: () => import(/* webpackChunkName: "fail" */ '@/views/xmtp/SeKnowAtlasList') }, @@ -624,24 +583,17 @@ export const constantRouterMap = [ { path: '/cms/home', // 这里是你需要设置新窗口打开的页面的路径 component: () => import('@/views/cms/home') - path: '/cms/home', //这里是你需要设置新窗口打开的页面的路径 - component: () => import('@/views/cms/home') }, { path: '/cms/major', // 这里是你需要设置新窗口打开的页面的路径 component: () => import('@/views/cms/pages/Major/MajorView') - path: '/cms/major', //这里是你需要设置新窗口打开的页面的路径 - component: () => import('@/views/cms/pages/Major/MajorView') }, { path: '/cms/detail', // 这里是你需要设置新窗口打开的页面的路径 component: () => import('@/views/cms/pages/Detail/DetailView') - path: '/cms/detail', //这里是你需要设置新窗口打开的页面的路径 - component: () => import('@/views/cms/pages/Detail/DetailView') }, { path: '/newLayout/dayu', // 这里是你需要设置新窗口打开的页面的路径 - path: '/newLayout/dayu', //这里是你需要设置新窗口打开的页面的路径 redirect: '/home/lnfo', component: () => import( @@ -667,6 +619,4 @@ export const constantRouterMap = [ } ] } - - } ] diff --git a/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue b/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue index e1ac0f8..7cfcdd6 100644 --- a/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue +++ b/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue @@ -89,8 +89,7 @@ // import Menu from './Msg' export default { name: 'Demo4NewLayoutList', - data() { - name: 'Demo4NewLayoutList', + data() { return { show2: true, //图标文字的显示状态 @@ -127,7 +126,7 @@ export default { } ] } - }, + } }