fix: types error

This commit is contained in:
xingyu
2023-01-16 15:20:49 +08:00
parent b4b23596a5
commit 50e9d8274f
3 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ const props = defineProps({
default: () => []
},
data: {
type: Object as PropType<Recordable>,
type: Object as PropType<any>,
default: () => ({})
}
})

View File

@ -1,6 +1,5 @@
import { EChartsOption } from 'echarts'
import { useI18n } from '@/hooks/web/useI18n'
import { EChartsOption as EChartsWordOption } from 'echarts-wordcloud'
const { t } = useI18n()
@ -185,7 +184,7 @@ export const radarOption: EChartsOption = {
]
}
export const wordOptions: EChartsWordOption = {
export const wordOptions = {
series: [
{
type: 'wordCloud',