diff --git a/src/router/index.js b/src/router/index.js index 26c5e62..976a537 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,7 +7,7 @@ Vue.use(Router) /* Layout */ -import Layout from '../views/layout/Layout' +import Layout from '@/layout/Layout' import { systemRouters } from './modules/system' /** diff --git a/src/router/index.js b/src/router/index.js index 26c5e62..976a537 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,7 +7,7 @@ Vue.use(Router) /* Layout */ -import Layout from '../views/layout/Layout' +import Layout from '@/layout/Layout' import { systemRouters } from './modules/system' /** diff --git a/src/router/modules/system.js b/src/router/modules/system.js index 0f4fd98..18700f3 100644 --- a/src/router/modules/system.js +++ b/src/router/modules/system.js @@ -1,6 +1,5 @@ /* Layout */ -import Layout from '../../views/layout/Layout' - +import Layout from '@/layout/Layout' export const systemRouters = [{ path: 'system', component: Layout,