Skip to content

Modal里有表单,在destroyOnClose=true的情况下,第一次点击弹出Modal时有表单数据,关闭后再点击弹出Modal时没有表单数据了 #2238

@qcncomll

Description

@qcncomll
        showModal() {
            this.visible = true;
            this.$nextTick(() => {
                this.form.setFieldsValue({username:"测试"});
            });
        }

第一次showModal()时有用户账号数据, 但是第二次以上showModal()时用户账号没数据了
版本1.5.3以下的含1.5.3好着呢,1.5.4以后不行了

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions