The Wayback Machine - https://web.archive.org/web/20210723191404/https://github.com/NervJS/taro/issues/9444
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.2.7不支持支付宝小程序使用原生自定义组件 #9444

Open
ShiLiuShu opened this issue Jun 2, 2021 · 2 comments
Open

taro3.2.7不支持支付宝小程序使用原生自定义组件 #9444

ShiLiuShu opened this issue Jun 2, 2021 · 2 comments

Comments

@ShiLiuShu
Copy link

@ShiLiuShu ShiLiuShu commented Jun 2, 2021

相关平台

支付宝小程序

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

复现步骤

taro中编写自定义组件,通过taro build native-components --type alipay打包,打包后的组件拷贝至支付宝小程序中无法显示

期望结果

taro编译后的自定义组件可以在支付宝小程序中正常使用

实际结果

taro编译后的自定义组件在支付宝小程序中无法显示,
而且会报错误信息不能添加属性data

环境信息

Taro CLI 3.2.7 environment info:
    System:
      OS: macOS 10.14.6
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 12.13.0 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 7.5.4 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.2.7 => 3.2.7 
      @tarojs/mini-runner: 3.2.7 => 3.2.7 
      @tarojs/react: 3.2.7 => 3.2.7 
      @tarojs/runtime: 3.2.7 => 3.2.7 
      @tarojs/taro: 3.2.7 => 3.2.7 
      @tarojs/webpack-runner: 3.2.7 => 3.2.7 
      babel-preset-taro: 3.2.7 => 3.2.7 
      eslint-config-taro: 3.2.7 => 3.2.7 
      react: ^17.0.0 => 17.0.2 

补充信息

微信小程序里面可以使用,支付宝小程序中组件不显示,请问当前版本是否支持

@Chen-jj
Copy link
Contributor

@Chen-jj Chen-jj commented Jun 2, 2021

支付宝还没测试过,需要再看看

@ShiLiuShu
Copy link
Author

@ShiLiuShu ShiLiuShu commented Jun 2, 2021

支付宝还没测试过,需要再看看

好的,多谢回复哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants