diff --git a/src/router/index.js b/src/router/index.js index c6bd390..b3445af 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -75,56 +75,56 @@ export const constantRoutes = [ } ] }, - { - path: '/nestRoutes', - meta: { - title: '多级路由嵌套(缓存测试)', - icon: 'form' - }, - component: Layout, - children: [ - { - path: '/nestRoutes/2', - meta: { - title: '二级', - icon: 'form', - showAlways: true - }, - component: plainView, - children: [ - { - path: '/nestRoutes/2/3', - meta: { - title: '三级', - icon: 'form', - showAlways: true - }, - component: plainView, - children: [ - { - path: `/nestRoutes/2/3/4/list`, - name: 'page-list', - meta: { - title: `四级表列表页`, - icon: 'form' - }, - component: () => import('@/views/testCache/list') - }, - { - path: '/nestRoutes/2/3/4/page-form', - name: 'page-form', - meta: { - title: `四级表单页`, - icon: 'form' - }, - component: () => import('@/views/testCache') - } - ] - } - ] - } - ] - }, + // { + // path: '/nestRoutes', + // meta: { + // title: '多级路由嵌套(缓存测试)', + // icon: 'form' + // }, + // component: Layout, + // children: [ + // { + // path: '/nestRoutes/2', + // meta: { + // title: '二级', + // icon: 'form', + // showAlways: true + // }, + // component: plainView, + // children: [ + // { + // path: '/nestRoutes/2/3', + // meta: { + // title: '三级', + // icon: 'form', + // showAlways: true + // }, + // component: plainView, + // children: [ + // { + // path: `/nestRoutes/2/3/4/list`, + // name: 'page-list', + // meta: { + // title: `四级表列表页`, + // icon: 'form' + // }, + // component: () => import('@/views/testCache/list') + // }, + // { + // path: '/nestRoutes/2/3/4/page-form', + // name: 'page-form', + // meta: { + // title: `四级表单页`, + // icon: 'form' + // }, + // component: () => import('@/views/testCache') + // } + // ] + // } + // ] + // } + // ] + // }, { path: '/user', component: Layout, diff --git a/vue.config.js b/vue.config.js index ec2b01b..3e4131c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin') const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题 -const port = process.env.port || process.env.npm_config_port || 80 // 端口 +const port = process.env.port || process.env.npm_config_port || 8200 // 端口 // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions