Skip to content

keep-alive with include property resulting prop data do not pass down to component #7105

Closed
@shirleyMHao

Description

@shirleyMHao

Version

2.5.8

Reproduction link

https://jsfiddle.net/50wL7mdz/78149/

Steps to reproduce

  1. click “First” and “Second” alernatively for multi times
  2. change select to“Japanese”,click “First” and “Second” alernatively for multi times
  3. Change select to “English”

What is expected?

Expect:
router-view can render to “First 2”(or “Second 2”),but it remains “First 3”(or “Second 3”)

What is actually happening?

keep-alive is remain the initail include binding data's value


what I want is keep-alive can be dynamic change to the include property's binding data, and prop Data can tranfer to component properly

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