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

@tarojs/components 导出LivePusher组件为undefined,而LivePlayer是存在的 #10821

Closed
tageecc opened this issue Dec 4, 2021 · 1 comment
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x

Comments

@tageecc
Copy link

tageecc commented Dec 4, 2021

相关平台

支付宝小程序

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

复现步骤

import { LivePlayer, LivePusher } from "@tarojs/components";
// !!LivePlayer===true
// !!LivePusher===false

期望结果

export LivePusher

实际结果

LivePusher undefined

环境信息

❯ taro info
👽 Taro v3.3.15


  Taro CLI 3.3.15 environment info:
    System:
      OS: macOS 11.6
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.11.1 - /usr/local/bin/node
      npm: 8.0.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.3.15 => 3.3.15 
      @tarojs/components: ^3.3.15 => 3.3.15 
      @tarojs/mini-runner: 3.3.15 => 3.3.15 
      @tarojs/react: 3.3.15 => 3.3.15 
      @tarojs/runtime: 3.3.15 => 3.3.15 
      @tarojs/taro: 3.3.15 => 3.3.15 
      @tarojs/webpack-runner: 3.3.15 => 3.3.15 
      babel-preset-taro: 3.3.15 => 3.3.15 
      eslint-config-taro: 3.3.15 => 3.3.15 
      react: ^17.0.2 => 17.0.2 

补充信息

@tarojs/components 导出LivePusher组件为undefined,而LivePlayer是存在的,是不是漏了

@taro-bot2 taro-bot2 bot added F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x labels Dec 4, 2021
@Chen-jj Chen-jj added this to the 3.3.18 milestone Dec 16, 2021
@ZakaryCode ZakaryCode modified the milestones: 3.3.18, 3.3.19 Dec 23, 2021
@Chen-jj
Copy link
Contributor

Chen-jj commented Jan 6, 2022

@tageecc 支付宝小程序自身就没有提供 LivePusher、LivePlayer 组件吧。因此 Taro 在支付宝平台没有导出它们。

@Chen-jj Chen-jj closed this as completed Jan 6, 2022
@Chen-jj Chen-jj removed this from the 3.3.20 milestone Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants