perf: adjust the import order to make it more elegant #1537

This commit is contained in:
Pan 2019-01-29 16:54:38 +08:00
parent 0f6946a88e
commit 6363eb627d
2 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css
import App from './App'
import router from './router'
import store from './store'
import router from './router'
import i18n from './lang' // Internationalization
import './icons' // icon

View File

@ -36,7 +36,7 @@ function filterAsyncRouter(routes, roles) {
const permission = {
state: {
routers: constantRouterMap,
routers: [],
addRouters: []
},
mutations: {