Commit 3667b30d by lxyang

feat:修改路由

parent 06e98b7a
......@@ -74,7 +74,7 @@ export const constantRoutes = [
children: [
{
path: 'index',
component: () => import('@/views/index'),
component: () => import('../views/index'),
name: '搜索文档',
meta: { title: '搜索文档', icon: 'search-new', noCache: true, affix: true }
}
......@@ -103,7 +103,7 @@ export const constantRoutes = [
children: [
{
path: 'type/data/:dictId(\\d+)',
component: () => import('@/views/system/dict/data'),
component: () => import('../views/system/dict/data'),
name: '字典数据',
meta: { title: '字典数据', icon: '' }
}
......@@ -119,7 +119,7 @@ export const constantRoutes = [
path: '/documentManagement',
children: [
{
component: () => import('@/views/dataList/dashboard/index'),
component: () => import('../views/dataList/dashboard/index'),
meta: {
icon: '',
title: '搜索文档详情'
......@@ -129,7 +129,7 @@ export const constantRoutes = [
hidden: true
},
{
component: () => import('@/views/system/customer/index'),
component: () => import('../views/system/customer/index'),
meta: {
icon: '',
title: '跟踪文档'
......@@ -141,7 +141,7 @@ export const constantRoutes = [
}
},
{
component: () => import('@/views/dataList/product/index'),
component: () => import('../views/dataList/product/index'),
meta: {
icon: '',
title: '跟踪文档详情'
......
......@@ -22,8 +22,7 @@ export default {
data() {
return {
loading: false,
search: '',
logo: '@/assets/image/logo.png',
search: ''
};
},
watch: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment