From 72fb06a4cfa33c262ed498a2b67d3dbae07c1385 Mon Sep 17 00:00:00 2001 From: zhangjianjun Date: Thu, 19 Mar 2026 11:14:07 +0800 Subject: [PATCH] save --- components/In18FormDialog.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/In18FormDialog.vue b/components/In18FormDialog.vue index 9e29f0c..56550d7 100644 --- a/components/In18FormDialog.vue +++ b/components/In18FormDialog.vue @@ -277,9 +277,10 @@ const formData = reactive<{ const translating = ref(false) const translatingFieldKey = ref('') -const isFullscreen = ref(props.fullscreen || false) +const isFullscreen = ref(false) const detailLoading = ref(false) + const forceUpdateKey = ref(0) function forceUpdate() { forceUpdateKey.value++ @@ -341,6 +342,7 @@ watch( () => [props.show, props.form, props.locales], async () => { if (props.show) { + isFullscreen.value = props.fullscreen initFormData() if (props.id) { detailLoading.value = true