diff --git a/package.json b/package.json index f38b0814..d3c7a53e 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ }, "dependencies": { "@element-plus/icons-vue": "2.0.10", + "@kjgl77/datav-vue3": "^1.7.1", "@tinymce/tinymce-vue": "5.0.0", "animate.css": "^4.1.1", "axios": "1.3.4", diff --git a/src/main.js b/src/main.js index b75eb2c9..c47f93f3 100644 --- a/src/main.js +++ b/src/main.js @@ -12,6 +12,7 @@ import * as ElementPlusIconsVue from '@element-plus/icons-vue' import preventReClick from './utils/preventReClick' import Print from './utils/print2' import Xlsx from './utils/xlsx' +import DataVVue3 from '@kjgl77/datav-vue3' const app = createApp(App); @@ -24,6 +25,7 @@ app.use(ehsui); app.use(preventReClick); app.use(Print); app.use(Xlsx); +app.use(DataVVue3) //挂载app app.mount('#app'); for (const [key, component] of Object.entries(ElementPlusIconsVue)) {