From 44b92034b7949e5ff4216d694677f7574f92c6b8 Mon Sep 17 00:00:00 2001 From: "yu.pan" Date: Mon, 25 Mar 2024 15:47:16 +0800 Subject: [PATCH] fix:deconstruct key cache value write back --- packages/core/src/models/Field.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/models/Field.ts b/packages/core/src/models/Field.ts index 38812ca1f0b..f29eb1c4b41 100644 --- a/packages/core/src/models/Field.ts +++ b/packages/core/src/models/Field.ts @@ -246,7 +246,7 @@ export class Field< (display) => { const value = this.value if (display !== 'none') { - if (value === undefined && this.caches.value !== undefined) { + if (isEmpty(value) && this.caches.value !== undefined) { this.setValue(this.caches.value) this.caches.value = undefined }