| | |
| | | // 字典标签组件 |
| | | import DictTag from '@/components/DictTag' |
| | | |
| | | import preReClick from "@/utils/preReClick"; |
| | | |
| | | import vue3JsonExcel from 'vue3-json-excel'; |
| | | |
| | | import { Boot } from '@wangeditor/editor' |
| | | import attachmentModule from '@wangeditor/plugin-upload-attachment' |
| | | import loadMore from '@/utils/selectLoadMoreDirective' |
| | | Boot.registerModule(attachmentModule) |
| | | const app = createApp(App) |
| | | |
| | | // 全局方法挂载 |
| | |
| | | app.component('RightToolbar', RightToolbar) |
| | | app.component('Editor', Editor) |
| | | |
| | | app.use(vue3JsonExcel) |
| | | app.use(router) |
| | | app.use(store) |
| | | app.use(plugins) |
| | | app.use(elementIcons) |
| | | app.use(preReClick) |
| | | app.component('svg-icon', SvgIcon) |
| | | |
| | | app.directive('loadMore',loadMore) |
| | | directive(app) |
| | | |
| | | // 使用element-plus 并且设置全局的大小 |