diff --git a/packages/nc-gui/components/dlg/ViewCreate.vue b/packages/nc-gui/components/dlg/ViewCreate.vue index 26c5b05b4e..173f100fd2 100644 --- a/packages/nc-gui/components/dlg/ViewCreate.vue +++ b/packages/nc-gui/components/dlg/ViewCreate.vue @@ -99,11 +99,12 @@ const typeAlias = computed( }[props.type]), ) -watch(vModel, (value) => value && init()) - watch( () => props.type, - (newType) => (form.type = newType), + (newType) => { + form.type = newType + init() + }, ) function init() {