Skip to content

The first change of Tabs child control props cannot be monitored by watch #4433

@holyrong

Description

@holyrong

Discussed in #4432

Originally posted by holyrong July 27, 2021
ant-design-vue 2.2.2

父组件:

image

image

子组件:

image
image

运行效果:

image

为什么在第一次切换tab到user时,staff-user子组件的watch监听不到变化?如果子组件不放到tabs中,可以正常监听props的变化。

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