Skip to content

StrictMode 下 preserve=fasle,使用动态节点时添加的值无法保存 #705

@wanpan11

Description

@wanpan11

StrictMode 会导致 Field 组件卸载一次,这时 preserve=false 就会把 store 里的对应字段重置为 undefined,导致无法赋值。

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions