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 popper #1

Open
wants to merge 2 commits into
base: vue-popper
Choose a base branch
from
Open

Vue popper #1

wants to merge 2 commits into from

Conversation

yuchonghua
Copy link

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

1、服务器没有HTMLElement
esm临时使用umd,期待更好的方案
reference: HTMLElement,
popper: HTMLElement,
boundariesElement: [String, HTMLElement],
reference: Vue.prototype.$isServer ? {} : HTMLElement,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isServer 放到组件外面吧。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

您的意思是传递参数时使用 isServer 判断传参数而不是在组件内直接使用 isServer 判断更改接收参数类型吗

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

期待进一步的回复

@ziyoung
Copy link
Owner

ziyoung commented Aug 14, 2018

@yuchonghua 非常感谢你的 pr。😀

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

Successfully merging this pull request may close these issues.

3 participants