Browse Source

fix: types error

xingyu 2 years ago
parent
commit
50e9d8274f

+ 1 - 1
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,

+ 1 - 1
yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue

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

+ 1 - 2
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',