Skip to content

Commit

Permalink
fix:deconstruct key cache value write back
Browse files Browse the repository at this point in the history
  • Loading branch information
panyu97py committed Mar 25, 2024
1 parent 5f9411f commit 44b9203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/models/Field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 44b9203

Please sign in to comment.