style(main.ts): 代码格式优化

This commit is contained in:
郝先瑞
2022-03-01 23:38:21 +08:00
parent 659d46939e
commit 5e1ff0a69e

View File

@@ -32,7 +32,8 @@ Object.keys(directive).forEach(key => {
// 全局方法
app.config.globalProperties.$listDictsByCode = listDictsByCode
app.component('Pagination', Pagination) // 全局组件
// 注册全局组件
app.component('Pagination', Pagination)
.use(store)
.use(router)
.use(ElementPlus, {size: localStorage.get('size') || 'small'})