fix: types error

pull/2/head
xingyu 2023-01-16 15:20:49 +08:00
parent b4b23596a5
commit 50e9d8274f
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "yudao-ui-admin-vue3", "name": "yudao-ui-admin-vue3",
"version": "1.6.6-snapshot.1912", "version": "1.6.6-snapshot.1921",
"description": "基于vue3、vite4、element-plus、typesScript", "description": "基于vue3、vite4、element-plus、typesScript",
"author": "xingyu", "author": "xingyu",
"private": false, "private": false,

View File

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

View File

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