Skip to content

keepAlive with Dynamic Components errror #8068

Open
@GrayFaith

Description

@GrayFaith

Vue version

3.2.47

Link to minimal reproduction

https://github.com/GrayFaith/viteproject.git

Steps to reproduce

yarn dev
login:
admin 123
switch left side menu
console:Uncaught (in promise) TypeError: parentComponent.ctx.deactivate is not a function

What is expected?

Switch dynamic components correctly and no error

What is actually happening?

Uncaught (in promise) TypeError: parentComponent.ctx.deactivate is not a function

System Info

OS:Windows 11 22H2 22621.1105
nodeJs:16
browser:Google Chrome/111.0.0.0

Any additional comments?

file in src/components/index/right/RightContainer.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    need more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions