This commit is contained in:
zhangjianjun 2026-03-19 11:14:07 +08:00
parent 3ba5da9b98
commit 72fb06a4cf
1 changed files with 3 additions and 1 deletions

View File

@ -277,9 +277,10 @@ const formData = reactive<{
const translating = ref(false) const translating = ref(false)
const translatingFieldKey = ref<string>('') const translatingFieldKey = ref<string>('')
const isFullscreen = ref(props.fullscreen || false) const isFullscreen = ref(false)
const detailLoading = ref(false) const detailLoading = ref(false)
const forceUpdateKey = ref(0) const forceUpdateKey = ref(0)
function forceUpdate() { function forceUpdate() {
forceUpdateKey.value++ forceUpdateKey.value++
@ -341,6 +342,7 @@ watch(
() => [props.show, props.form, props.locales], () => [props.show, props.form, props.locales],
async () => { async () => {
if (props.show) { if (props.show) {
isFullscreen.value = props.fullscreen
initFormData() initFormData()
if (props.id) { if (props.id) {
detailLoading.value = true detailLoading.value = true