refactor: remove layout components: Exception

master
chenghx 6 years ago
parent 5794bad611
commit 04f8642c33
  1. 13
      src/components/exception/Exception.vue
  2. 3
      src/router/index.js

@ -1,13 +0,0 @@
<template>
<router-view />
</template>
<script>
export default {
name: 'Exception'
}
</script>
<style scoped>
</style>

@ -1,7 +1,6 @@
import Vue from 'vue'
import Router from 'vue-router'
import Dashboard from '@/components/dashboard/Dashboard'
import Exception from '@/components/exception/Exception'
import NotFound from '@/components/exception/404'
import NotPermit from '@/components/exception/403'
import ServerError from '@/components/exception/500'
@ -185,7 +184,7 @@ export default new Router({
path: '/exception',
name: '异常页',
icon: 'warning',
component: Exception,
component: RouteView,
children: [
{
path: '/exception/404',

Loading…
Cancel
Save