Subscribe on changes!

keepAlive with Dynamic Components errror

avatar
Apr 12th 2023

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