Commit 3667b30d by lxyang

feat:修改路由

parent 06e98b7a
...@@ -74,7 +74,7 @@ export const constantRoutes = [ ...@@ -74,7 +74,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'index', path: 'index',
component: () => import('@/views/index'), component: () => import('../views/index'),
name: '搜索文档', name: '搜索文档',
meta: { title: '搜索文档', icon: 'search-new', noCache: true, affix: true } meta: { title: '搜索文档', icon: 'search-new', noCache: true, affix: true }
} }
...@@ -103,7 +103,7 @@ export const constantRoutes = [ ...@@ -103,7 +103,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'type/data/:dictId(\\d+)', path: 'type/data/:dictId(\\d+)',
component: () => import('@/views/system/dict/data'), component: () => import('../views/system/dict/data'),
name: '字典数据', name: '字典数据',
meta: { title: '字典数据', icon: '' } meta: { title: '字典数据', icon: '' }
} }
...@@ -119,7 +119,7 @@ export const constantRoutes = [ ...@@ -119,7 +119,7 @@ export const constantRoutes = [
path: '/documentManagement', path: '/documentManagement',
children: [ children: [
{ {
component: () => import('@/views/dataList/dashboard/index'), component: () => import('../views/dataList/dashboard/index'),
meta: { meta: {
icon: '', icon: '',
title: '搜索文档详情' title: '搜索文档详情'
...@@ -129,7 +129,7 @@ export const constantRoutes = [ ...@@ -129,7 +129,7 @@ export const constantRoutes = [
hidden: true hidden: true
}, },
{ {
component: () => import('@/views/system/customer/index'), component: () => import('../views/system/customer/index'),
meta: { meta: {
icon: '', icon: '',
title: '跟踪文档' title: '跟踪文档'
...@@ -141,7 +141,7 @@ export const constantRoutes = [ ...@@ -141,7 +141,7 @@ export const constantRoutes = [
} }
}, },
{ {
component: () => import('@/views/dataList/product/index'), component: () => import('../views/dataList/product/index'),
meta: { meta: {
icon: '', icon: '',
title: '跟踪文档详情' title: '跟踪文档详情'
......
...@@ -22,8 +22,7 @@ export default { ...@@ -22,8 +22,7 @@ export default {
data() { data() {
return { return {
loading: false, loading: false,
search: '', search: ''
logo: '@/assets/image/logo.png',
}; };
}, },
watch: {}, 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