From fbdb2c18da0a466c7082d8ebfa7392e085b4bb14 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 15 Jun 2023 15:42:01 +0800 Subject: [PATCH] fix(nc-gui): use computed instead --- packages/nc-gui/components/erd/TableNode.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/erd/TableNode.vue b/packages/nc-gui/components/erd/TableNode.vue index 68f2c7d287..7acebf67e9 100644 --- a/packages/nc-gui/components/erd/TableNode.vue +++ b/packages/nc-gui/components/erd/TableNode.vue @@ -16,7 +16,7 @@ const { data, showSkeleton, dragging } = defineProps() const { viewport } = useVueFlow() -const table = toRef(data, 'table') +const table = computed(() => data) const isZooming = refAutoReset(false, 200)