yangys
2025-12-03 fdb0ed498f295b50c072c4b3652c08e2d60a747a
src/main.js
@@ -44,6 +44,13 @@
import tenantDatasource from './views/system/tenantdatasource.vue';
//文件对比
import CodeDiff from 'v-code-diff'
import mitt from 'mitt'
import VuePdfEmbed from 'vue-pdf-embed';
import VueOfficeDocx from '@vue-office/docx';
import VueOfficeExcel from '@vue-office/excel';
const myemitter = mitt()
window.myemitter = myemitter;
window.$crudCommon = crudCommon;
debug();
@@ -52,6 +59,7 @@
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.component('basicContainer', basicContainer);
app.component('basicBlock', basicBlock);
app.component('highlight', highlight);
@@ -63,6 +71,11 @@
app.component('formSetting', formSetting);
app.component('tenantPackage', tenantPackage);
app.component('tenantDatasource', tenantDatasource);
app.component('VuePdfEmbed', VuePdfEmbed);
app.component('VueOfficeDocx', VueOfficeDocx);
app.component('VueOfficeExcel', VueOfficeExcel);
app.config.globalProperties.$app = app;
app.config.globalProperties.$dayjs = dayjs;
app.config.globalProperties.website = website;