mirror of
https://github.com/iczer/vue-antd-admin.git
synced 2025-04-06 03:57:44 +08:00
refactor: remove layout components: Exception
This commit is contained in:
parent
5794bad611
commit
04f8642c33
@ -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 Vue from 'vue'
|
||||||
import Router from 'vue-router'
|
import Router from 'vue-router'
|
||||||
import Dashboard from '@/components/dashboard/Dashboard'
|
import Dashboard from '@/components/dashboard/Dashboard'
|
||||||
import Exception from '@/components/exception/Exception'
|
|
||||||
import NotFound from '@/components/exception/404'
|
import NotFound from '@/components/exception/404'
|
||||||
import NotPermit from '@/components/exception/403'
|
import NotPermit from '@/components/exception/403'
|
||||||
import ServerError from '@/components/exception/500'
|
import ServerError from '@/components/exception/500'
|
||||||
@ -185,7 +184,7 @@ export default new Router({
|
|||||||
path: '/exception',
|
path: '/exception',
|
||||||
name: '异常页',
|
name: '异常页',
|
||||||
icon: 'warning',
|
icon: 'warning',
|
||||||
component: Exception,
|
component: RouteView,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/exception/404',
|
path: '/exception/404',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user