Commit 50e9d8274f0b89b92f7716802da00112ebef72b5
1 parent
b4b23596
fix: types error
Showing
3 changed files
with
3 additions
and
4 deletions
yudao-ui-admin-vue3/package.json
| 1 | { | 1 | { |
| 2 | "name": "yudao-ui-admin-vue3", | 2 | "name": "yudao-ui-admin-vue3", |
| 3 | - "version": "1.6.6-snapshot.1912", | 3 | + "version": "1.6.6-snapshot.1921", |
| 4 | "description": "基于vue3、vite4、element-plus、typesScript", | 4 | "description": "基于vue3、vite4、element-plus、typesScript", |
| 5 | "author": "xingyu", | 5 | "author": "xingyu", |
| 6 | "private": false, | 6 | "private": false, |
yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue
| @@ -25,7 +25,7 @@ const props = defineProps({ | @@ -25,7 +25,7 @@ const props = defineProps({ | ||
| 25 | default: () => [] | 25 | default: () => [] |
| 26 | }, | 26 | }, |
| 27 | data: { | 27 | data: { |
| 28 | - type: Object as PropType<Recordable>, | 28 | + type: Object as PropType<any>, |
| 29 | default: () => ({}) | 29 | default: () => ({}) |
| 30 | } | 30 | } |
| 31 | }) | 31 | }) |
yudao-ui-admin-vue3/src/views/Home/echarts-data.ts
| 1 | import { EChartsOption } from 'echarts' | 1 | import { EChartsOption } from 'echarts' |
| 2 | import { useI18n } from '@/hooks/web/useI18n' | 2 | import { useI18n } from '@/hooks/web/useI18n' |
| 3 | -import { EChartsOption as EChartsWordOption } from 'echarts-wordcloud' | ||
| 4 | 3 | ||
| 5 | const { t } = useI18n() | 4 | const { t } = useI18n() |
| 6 | 5 | ||
| @@ -185,7 +184,7 @@ export const radarOption: EChartsOption = { | @@ -185,7 +184,7 @@ export const radarOption: EChartsOption = { | ||
| 185 | ] | 184 | ] |
| 186 | } | 185 | } |
| 187 | 186 | ||
| 188 | -export const wordOptions: EChartsWordOption = { | 187 | +export const wordOptions = { |
| 189 | series: [ | 188 | series: [ |
| 190 | { | 189 | { |
| 191 | type: 'wordCloud', | 190 | type: 'wordCloud', |