zhouwx
2024-07-05 c293e8f2c2c8f1eae95b0255a8745456963511d2
src/main.js
@@ -51,6 +51,7 @@
import { Boot } from '@wangeditor/editor'
import attachmentModule from '@wangeditor/plugin-upload-attachment'
import loadMore from '@/utils/selectLoadMoreDirective'
import loadMoreNew from '@/utils/directive'
import "video.js/dist/video-js.css"
Boot.registerModule(attachmentModule)
const app = createApp(App)
@@ -83,6 +84,8 @@
app.use(preReClick)
app.component('svg-icon', SvgIcon)
app.directive('loadMore',loadMore)
app.directive('loadMoreNew',loadMoreNew)
// app.use(Directives)
directive(app)
// 使用element-plus 并且设置全局的大小