fix: todo

This commit is contained in:
xingyu
2022-11-18 00:18:20 +08:00
parent de6fc54626
commit 095ced7af0
2 changed files with 82 additions and 10 deletions

View File

@ -227,6 +227,7 @@ export default defineComponent({
{...(autoSetPlaceholder && setTextPlaceholder(item))}
{...setComponentProps(item)}
style={item.componentProps?.style}
{...item.componentProps?.props}
{...(notRenderOptions.includes(item?.component as string) &&
item?.componentProps?.options
? { options: item?.componentProps?.options || [] }