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

taro3.0使用直播组件的订阅组件无法正常显示订阅按钮 #8067

Open
chunyangyang opened this issue Nov 18, 2020 · 5 comments
Open
Labels
F-react Framework - React question Further information is requested T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@chunyangyang
Copy link

相关平台

微信小程序

小程序基础库: 2.12.2
使用框架: React

复现步骤

1.在app.config.js引入直播插件
2.在使用订阅功能页面引入订阅组件subscribe
3.编译完成不能正常显示

微信官网链接:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/component-api.html#1

终编译出来结果如图:
b7a99d3398c8549a21bf085444d5078

期望结果

期望正常有订阅按钮

实际结果

没有正常显示订阅按钮

环境信息

  Taro CLI 3.0.16 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 12.18.1 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Nov 18, 2020
@AnnaCDX
Copy link

AnnaCDX commented Nov 20, 2020

请问解决了嘛,我的也不显示

@Chen-jj
Copy link
Contributor

Chen-jj commented Dec 11, 2020

@chunyangyang @AnnaCDX

微信小程序社区找到这样的答案:https://developers.weixin.qq.com/community/minihome/doc/000a0a22ae84788fce0a788c151000,感觉不是 Taro 的问题,可以写个原生demo 测试一下。

如果还有问题,可以提供一下完整 demo 我们看看

@Chen-jj Chen-jj removed this from the 3.0.19 milestone Dec 11, 2020
@Chen-jj Chen-jj added the question Further information is requested label Dec 11, 2020
@shunshunyue
Copy link

解决了没 我也有这个问题

@wujiantao123
Copy link

使用原生模块没问题,但是在taro无法显示,有个警告是app.js? [sm]:1 [Component] slot is not found (in component "plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe").

下面是我的taro版本信息

@tarojs/cli: 3.3.9 => 3.3.9
@tarojs/components: 3.3.9 => 3.3.9
@tarojs/mini-runner: 3.3.9 => 3.3.9
@tarojs/react: 3.3.9 => 3.3.9
@tarojs/runtime: 3.3.9 => 3.3.9
@tarojs/taro: 3.3.9 => 3.3.9
@tarojs/webpack-runner: 3.3.9 => 3.3.9

@utumn01
Copy link

utumn01 commented Apr 19, 2023

请问解决了没 我也有这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React question Further information is requested T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

6 participants