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

Dropdown: compatible with 2.6 new v-slot syntax #14832

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

ziyoung
Copy link
Contributor

@ziyoung ziyoung commented Mar 25, 2019

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

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

@ziyoung
Copy link
Contributor Author

ziyoung commented Mar 25, 2019

2.6 中,Vue slot 的语法改变了。

<foo>
  <template v-slot:x>
    <bar />
  </template>
</foo>

现在的话,$slots.x[0].elm 是 undefined,一些事件绑定以及 DOM 操作统统失效。

@element-bot
Copy link
Member

Deploy preview for element ready!

Built with commit 83109f9

https://deploy-preview-14832--element.netlify.com

@ziyoung ziyoung added this to the 2.7.0 milestone Mar 25, 2019
@iamkun iamkun merged commit ea55f52 into ElemeFE:dev Mar 27, 2019
@ziyoung ziyoung deleted the issue/14345 branch April 2, 2019 07:29
weisiren168 pushed a commit to weisiren168/element that referenced this pull request Jun 20, 2019
lzq4047 pushed a commit to lzq4047/element that referenced this pull request May 22, 2020
@okbexx
Copy link

okbexx commented Sep 8, 2020

Popover组件同样存在这问题

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.

[Bug Report] [dropdown] .elm property doesn't exist in slots in mounted hook
4 participants