Skip to content

h5首次进入keepalive缓存的页面没有触发onActivated钩子函数 #5979

@zebangqiu-maker

Description

@zebangqiu-maker

问题描述
首次进入keepalive缓存的页面没有触发onActivated钩子函数,只触发了onMounted生命周期,第二次进入该页面才会触发onMounted和onActivated

预期结果
首次进入onMounted和onActivated都触发

系统信息:
H5平台

补充信息
[可选]
是因为动态添加的原因,首次触发未捕获到吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions