提交 9daeb1cb 编写于 作者: P Pan

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

上级 3153a1b1
...@@ -10,8 +10,8 @@ import 'element-ui/lib/theme-chalk/index.css' ...@@ -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) { ...@@ -36,7 +36,7 @@ function filterAsyncRouter(routes, roles) {
const permission = { const permission = {
state: { state: {
routers: constantRouterMap, routers: [],
addRouters: [] addRouters: []
}, },
mutations: { mutations: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册