src/main.js
@@ -43,6 +43,10 @@ // 字典标签组件 import DictTag from '@/components/DictTag' import { Boot } from '@wangeditor/editor' import attachmentModule from '@wangeditor/plugin-upload-attachment' import loadMore from '@/utils/selectLoadMoreDirective' Boot.registerModule(attachmentModule) const app = createApp(App) // 全局方法挂载 @@ -70,7 +74,7 @@ app.use(plugins) app.use(elementIcons) app.component('svg-icon', SvgIcon) app.directive('loadMore',loadMore) directive(app) // 使用element-plus 并且设置全局的大小