type:解决类型问题

This commit is contained in:
奔跑的面条
2022-04-26 11:37:25 +08:00
parent 9d3f53c315
commit a43d5778cb
2 changed files with 2 additions and 2 deletions
@@ -82,7 +82,7 @@ import {
const props = defineProps({
chartStyles: {
type: Object as PropType<PickCreateComponentType<'styles'>>,
type: Object as PropType<Omit<PickCreateComponentType<'styles'>, 'animations'>>,
required: true,
},
})