|
@@ -19,14 +19,14 @@ import VTitle from "@/directives/v-title";
|
|
|
import "driver.js/dist/driver.css";
|
|
|
import DomZIndex from 'dom-zindex'
|
|
|
import initVxeConfig from "@/utils/xe-utils-enhance/vxe-formatter";
|
|
|
-import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx'
|
|
|
-import ExcelJS from 'exceljs'
|
|
|
import VWaves from "@/directives/v-waves";
|
|
|
import piniaInstall from "@/pinia/pinia-install";
|
|
|
import VxeUIPluginRenderChart from '@vxe-ui/plugin-render-chart'
|
|
|
import '@vxe-ui/plugin-render-chart/dist/style.css'
|
|
|
import VxeUI from 'vxe-pc-ui'
|
|
|
import 'vxe-pc-ui/lib/style.css'
|
|
|
+import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx'
|
|
|
+import ExcelJS from 'exceljs'
|
|
|
|
|
|
DomZIndex.getNext = () => {
|
|
|
return useZIndex().nextZIndex()
|
|
@@ -43,17 +43,6 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
app.component(key, component)
|
|
|
}
|
|
|
|
|
|
-// VXETable.config({
|
|
|
-// version: 0,
|
|
|
-// table: {
|
|
|
-// autoResize: true,
|
|
|
-// height: 700
|
|
|
-// },
|
|
|
-// })
|
|
|
-
|
|
|
-VXETable.use(VXETablePluginExportXLSX, {
|
|
|
- ExcelJS
|
|
|
-})
|
|
|
|
|
|
piniaInstall(app)
|
|
|
app.use(ElementPlus, {locale: zhCn, size: 'small'})
|
|
@@ -67,6 +56,9 @@ app.use(print)
|
|
|
app.use(VxeUI)
|
|
|
app.use(VXETable)
|
|
|
VxeUI.use(VxeUIPluginRenderChart)
|
|
|
+VxeUI.use(VxeUIPluginExportXLSX, {
|
|
|
+ ExcelJS
|
|
|
+})
|
|
|
app.use(JsonViewer);
|
|
|
app.use(router)
|
|
|
app.mount('#app')
|