diff --git a/src/router/index.js b/src/router/index.js index e6bacff..b42ae38 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -166,7 +166,7 @@ path: 'index', name: 'index', hidden: true, - component: () => import('@/views/dashboard/index'), // 跳转的页面 + component: () => import('@/views/dashboard/welcome'), // 跳转的页面 meta: { title: '首页', icon: '首页', noCache: true } }] } diff --git a/src/router/index.js b/src/router/index.js index e6bacff..b42ae38 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -166,7 +166,7 @@ path: 'index', name: 'index', hidden: true, - component: () => import('@/views/dashboard/index'), // 跳转的页面 + component: () => import('@/views/dashboard/welcome'), // 跳转的页面 meta: { title: '首页', icon: '首页', noCache: true } }] } diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index b0e4466..b87210d 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -1,7 +1,8 @@ + diff --git a/src/router/index.js b/src/router/index.js index e6bacff..b42ae38 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -166,7 +166,7 @@ path: 'index', name: 'index', hidden: true, - component: () => import('@/views/dashboard/index'), // 跳转的页面 + component: () => import('@/views/dashboard/welcome'), // 跳转的页面 meta: { title: '首页', icon: '首页', noCache: true } }] } diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index b0e4466..b87210d 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -1,7 +1,8 @@ + diff --git a/src/views/dashboard/welcome.vue b/src/views/dashboard/welcome.vue new file mode 100644 index 0000000..170ab32 --- /dev/null +++ b/src/views/dashboard/welcome.vue @@ -0,0 +1,39 @@ + + + + + +