Skip to content

Commit

Permalink
fix: chart types
Browse files Browse the repository at this point in the history
  • Loading branch information
vangleer committed Feb 1, 2024
1 parent 639df23 commit 2613f80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/editor/src/components/basic/chart/Chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
</template>

<script setup lang="ts">
import { ref, onMounted, watch } from 'vue'
import { ref, onMounted, watch, PropType } from 'vue'
import * as echarts from 'echarts'
import { t } from '@es-drager/common/i18n'
import { ComponentType } from '@es-drager/editor'
const props = defineProps({
element: {
type: Object as PropType<ComponentType>,
default: () => ({})
},
option: Object
option: Object as PropType<any>
})
const chartRef = ref()
let chart: echarts.ECharts | null = null
Expand Down

0 comments on commit 2613f80

Please sign in to comment.