vue-vben-admin/src/components/FlowChart/index.ts

16 lines
379 B
TypeScript
Raw Normal View History

2021-04-17 06:06:08 +08:00
import { App } from 'vue';
import dataDialog from './src/DataDialog.vue';
2021-04-17 18:36:49 +08:00
import flowChart from './src/index.vue';
2021-04-17 06:06:08 +08:00
2021-04-17 18:36:49 +08:00
export const FlowChart = Object.assign(flowChart, {
2021-04-17 06:06:08 +08:00
install(app: App) {
2021-04-17 18:36:49 +08:00
app.component(flowChart.name, flowChart);
2021-04-17 06:06:08 +08:00
},
});
export const DataDialog = Object.assign(dataDialog, {
install(app: App) {
app.component(dataDialog.name, dataDialog);
},
});