style: 代码统一风格格式化
Former-commit-id: 5d0a75e41127c57c663eb2617b1ce66d039f4c29
This commit is contained in:
14
src/main.ts
14
src/main.ts
@@ -27,7 +27,7 @@ const app = createApp(App);
|
||||
import * as directive from '@/directive';
|
||||
|
||||
Object.keys(directive).forEach(key => {
|
||||
app.directive(key, (directive as { [key: string]: Directive })[key]);
|
||||
app.directive(key, (directive as { [key: string]: Directive })[key]);
|
||||
});
|
||||
|
||||
// 全局方法
|
||||
@@ -35,9 +35,9 @@ app.config.globalProperties.$listDictsByCode = listDictsByCode;
|
||||
|
||||
// 注册全局组件
|
||||
app
|
||||
.component('Pagination', Pagination)
|
||||
.use(createPinia())
|
||||
.use(router)
|
||||
.use(ElementPlus)
|
||||
.use(i18n)
|
||||
.mount('#app');
|
||||
.component('Pagination', Pagination)
|
||||
.use(createPinia())
|
||||
.use(router)
|
||||
.use(ElementPlus)
|
||||
.use(i18n)
|
||||
.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user