Skip to content

Commit c03840a

Browse files
committed
Refactoring - VueDataUi removed useless imports
1 parent 2233778 commit c03840a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/vue-data-ui.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
import { defineProps, defineEmits, defineExpose, onMounted, ref, computed, toRefs, nextTick, watchEffect, watch, shallowReactive } from 'vue';
2+
import { onMounted, ref, computed, toRefs, watch, shallowReactive } from 'vue';
33
import { defineAsyncComponent } from 'vue';
44
55
import BaseIcon from '../atoms/BaseIcon.vue';
@@ -12,8 +12,6 @@ const props = defineProps({
1212
1313
const { component, dataset, config } = toRefs(props);
1414
15-
// componentOne: defineAsyncComponent(async () => ({setup: (_, {expose}) => (expose({methodA: () => alert('componentOne')}), () => 'componentOne')})),
16-
1715
const components = {
1816
VueUi3dBar: defineAsyncComponent(() => import('./vue-ui-3d-bar.vue')),
1917
VueUiAgePyramid: defineAsyncComponent(() => import('./vue-ui-age-pyramid.vue')),

0 commit comments

Comments
 (0)