diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 00703d516..50cdf9ee3 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -100,7 +100,7 @@ onUnmounted(() => { state.set($props.model, originalData.value); return; } - if ($props.clearStoreDataOnUnmount) state.unset($props.model); + if ($props.clearStoreOnUnmount) state.unset($props.model); }); const isLoading = ref(false);