fix!: v-model implemented again

* fix store usage

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-19 02:13:47 +01:00
parent 95550b3c1f
commit f534572cef
2 changed files with 13 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ const color = ref<Colors>({
blue: 100,
})
const onChange = ({ color: c, val }: { color: keyof Colors; val: number }) => (color.value[c] = Number(val))
const { store } = useVueFlow({
const store = useVueFlow({
nodeTypes: {
'rgb': true,
'rgb-output': true,