Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep-alive动态组件当activate未完成时切换组件报错 #2566

Closed
cxr29 opened this issue Mar 25, 2016 · 1 comment
Closed

keep-alive动态组件当activate未完成时切换组件报错 #2566

cxr29 opened this issue Mar 25, 2016 · 1 comment

Comments

@cxr29
Copy link

cxr29 commented Mar 25, 2016

vue.js:8889 Uncaught TypeError: Cannot read property 'parentNode' of null

Vue.js version

1.0.x

Reproduction Link

https://jsfiddle.net/rnyLuhyh/

Steps to reproduce

使劲点按钮切换组件就会报上面的错误

What is Expected?

不知道是不是使用动态组件的姿势不对

@mrcuix
Copy link

mrcuix commented Mar 25, 2016

貌似只能等组件第一次加载完再点就没问题了?

https://jsfiddle.net/skppfjgz/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants