fix(flow): no transform of id to ref

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 6cb13f1646
commit 71e21e50d9
+2 -2
View File
@@ -31,10 +31,10 @@ export class Storage {
public create(id: string, options?: Partial<FlowOptions>) {
const store = useStore(options)
const flow: UseVueFlow = {
id,
store,
...(store as any),
...toRefs(store.state),
id,
store,
}
this.set(id, flow)
return flow