Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] remax2.9版本以上小程序自定义组件带有具名 slot的组件不显示,2.8.10功能正常 #1406

Closed
q759410559 opened this issue Dec 2, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@q759410559
Copy link

bug 描述
小程序自定义组件带有具名 slot的自定义名称组件不显示,只会显示默认的组件

复现步骤
image
https://remaxjs.org/guide/basic/custom-component#%E5%AF%B9%E4%BA%8E%E5%B8%A6%E6%9C%89%E5%85%B7%E5%90%8D-slot-%E7%9A%84%E7%BB%84%E4%BB%B6%EF%BC%8C%E5%85%B7%E5%90%8D-slot-%E9%83%A8%E5%88%86%E7%9A%84%E6%9C%80%E5%A4%96%E5%B1%82%E5%8F%AA%E8%83%BD%E7%94%A8-view-%E7%BB%84%E4%BB%B6%E3%80%82
就像官方文档里的示例, Remax 并不显示。
remax版本2.8.10功能正常,升级到2.9 以上的版本全部都不行

期望结果
修复相关bug

复现代码

版本信息:

  • remax 版本: [e.g. 2.9.5]
  • 手机型号 [e.g. iPhone X]
  • 小程序端 [e.g. 微信小程序]
  • 小程序版本[e.g. 2.9.5]
  • 开发环境 [e.g. mac OS]

其他信息

@q759410559 q759410559 added the bug Something isn't working label Dec 2, 2020
@lyboy2012
Copy link

同样问题

@yesmeck
Copy link
Member

yesmeck commented Dec 6, 2020

亲测没问题啊,可以给个重现的代码仓库么?

@q759410559
Copy link
Author

重现的代码仓库 https://github.com/q759410559/remax-test-001.git

image
remax 2.8.10正常

image
remax 2.9.x 2.10.x 都不行

@yesmeck yesmeck closed this as completed in 6da0267 Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants