From 50e9d8274f0b89b92f7716802da00112ebef72b5 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 16 Jan 2023 15:20:49 +0800 Subject: [PATCH] fix: types error --- yudao-ui-admin-vue3/package.json | 2 +- .../src/components/Descriptions/src/Descriptions.vue | 2 +- yudao-ui-admin-vue3/src/views/Home/echarts-data.ts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/yudao-ui-admin-vue3/package.json b/yudao-ui-admin-vue3/package.json index 088fd8adc..81cdf7ae9 100644 --- a/yudao-ui-admin-vue3/package.json +++ b/yudao-ui-admin-vue3/package.json @@ -1,6 +1,6 @@ { "name": "yudao-ui-admin-vue3", - "version": "1.6.6-snapshot.1912", + "version": "1.6.6-snapshot.1921", "description": "基于vue3、vite4、element-plus、typesScript", "author": "xingyu", "private": false, diff --git a/yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue b/yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue index ac395de47..a14fca3d1 100644 --- a/yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue +++ b/yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue @@ -25,7 +25,7 @@ const props = defineProps({ default: () => [] }, data: { - type: Object as PropType, + type: Object as PropType, default: () => ({}) } }) diff --git a/yudao-ui-admin-vue3/src/views/Home/echarts-data.ts b/yudao-ui-admin-vue3/src/views/Home/echarts-data.ts index 38694ac82..00a195eb8 100644 --- a/yudao-ui-admin-vue3/src/views/Home/echarts-data.ts +++ b/yudao-ui-admin-vue3/src/views/Home/echarts-data.ts @@ -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',