Skip to content

If <a-switch/>the outermost city wraps <a-row>, then the data bound to a-switch in two directions will not be changed in time #3833

@pengshengguang

Description

@pengshengguang
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.0

Environment

vue3.0 antd2.x

Reproduction link

https://2x.antdv.com/components/grid-cn

Steps to reproduce

<script> import { reactive, ref } from 'vue'; export default { setup() { const data = reactive({ "choices": [ { "ifAllowFillInBlanks": false, //是否能填空 }, { "ifAllowFillInBlanks": true, } ] }) return { data } }, } </script>

运行上诉代码

What is expected?

当切换switch状态,ifAllowFillInBlanks 的状态要及时改变

What is actually happening?

当切换switch状态,ifAllowFillInBlanks 的状态并无及时改变

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions