mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
perf: adjust the import order to make it more elegant #1537
This commit is contained in:
parent
3153a1b10b
commit
9daeb1cb34
@ -10,8 +10,8 @@ import 'element-ui/lib/theme-chalk/index.css'
|
|||||||
import '@/styles/index.scss' // global css
|
import '@/styles/index.scss' // global css
|
||||||
|
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import router from './router'
|
|
||||||
import store from './store'
|
import store from './store'
|
||||||
|
import router from './router'
|
||||||
|
|
||||||
import i18n from './lang' // Internationalization
|
import i18n from './lang' // Internationalization
|
||||||
import './icons' // icon
|
import './icons' // icon
|
||||||
|
@ -36,7 +36,7 @@ function filterAsyncRouter(routes, roles) {
|
|||||||
|
|
||||||
const permission = {
|
const permission = {
|
||||||
state: {
|
state: {
|
||||||
routers: constantRouterMap,
|
routers: [],
|
||||||
addRouters: []
|
addRouters: []
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user