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

【Vue】Dialog当v-if和v-model同时设为true时,弹窗定位不对 #185

Closed
Javey opened this issue Jan 11, 2019 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Javey
Copy link
Member

Javey commented Jan 11, 2019

_mount生命周期执行过早,v-if改为v-show可以规避该问题

@Javey Javey added the bug Something isn't working label Jan 11, 2019
@Javey
Copy link
Member Author

Javey commented Jan 23, 2019

该问题不仅仅在Vue下复现,由于MoveWrapper还没有将真正的dom append到body中,子组件就执行了mount生命周期函数导致的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant