fix: proptype

This commit is contained in:
Braks
2021-07-10 01:00:12 +02:00
parent 3d2514a961
commit 6a6c5c9ee1
+1 -1
View File
@@ -123,7 +123,7 @@ const RevueFlow = defineComponent({
components: { GraphView },
props: {
elements: {
type: Object as PropType<RevueFlowProps['elements']>,
type: Array as PropType<RevueFlowProps['elements']>,
required: true
},
nodeTypesId: {