deng 1 year ago
parent 0c461adacf
commit a94ad47825
  1. 50
      ant-design-vue-jeecg/src/config/router.config.js
  2. 5
      ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue

@ -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 = [
}
]
}
}
]

@ -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 {
}
]
}
},
}
}
</script>
<style lang="less">

Loading…
Cancel
Save