Skip to content

About lifecycle of keep-alive #1621

@zhangzhonghe

Description

@zhangzhonghe

Version

3.0.0-rc.1

Reproduction link

https://zhangzhonghe.github.io/vue-keep-alive-bug/

Steps to reproduce

1, open link
2, open devtools
3, click button

What is expected?

当one组件再次显示时,应该只触发activated hook。

What is actually happening?

再次触发created hook 和 mounted hook。

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