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

H5跟ant-desgin-mobile不兼容 #7949

Closed
z782223468 opened this issue Nov 2, 2020 · 1 comment
Closed

H5跟ant-desgin-mobile不兼容 #7949

z782223468 opened this issue Nov 2, 2020 · 1 comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects

Comments

@z782223468
Copy link

相关平台

H5

浏览器版本: xcode模拟器
使用框架: React

复现步骤

导入ant-desgin-mobile 使用组件报错

期望结果

正常加载ant-desgin-mobile的组件

实际结果

引入组件就报错

环境信息

  Taro CLI 2.0.4 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 10.16.1 - /usr/local/bin/node
      Yarn: 1.17.3 - /usr/local/bin/yarn
      npm: 6.14.4 - /usr/local/bin/npm
    npmPackages:
      @tarojs/async-await: 2.0.4 => 2.0.4 
      @tarojs/components: 2.0.4 => 2.0.4 
      @tarojs/mini-runner: 2.0.4 => 2.0.4 
      @tarojs/router: 2.0.4 => 2.0.4 
      @tarojs/taro: 2.0.4 => 2.0.4 
      @tarojs/taro-alipay: 2.0.4 => 2.0.4 
      @tarojs/taro-h5: 2.0.4 => 2.0.4 
      @tarojs/taro-qq: 2.0.4 => 2.0.4 
      @tarojs/taro-quickapp: 2.0.4 => 2.0.4 
      @tarojs/taro-swan: 2.0.4 => 2.0.4 
      @tarojs/taro-tt: 2.0.4 => 2.0.4 
      @tarojs/taro-weapp: 2.0.4 => 2.0.4 
      @tarojs/webpack-runner: 2.0.4 => 2.0.4 
      eslint-config-taro: 2.0.4 => 2.0.4 
      eslint-plugin-taro: 2.0.4 => 2.0.4 
      nerv-devtools: ^1.5.7 => 1.5.7 
      nervjs: ^1.5.7 => 1.5.7 
      react: ^17.0.1 => 17.0.1 
      stylelint-config-taro-rn: 2.0.4 => 2.0.4 
      stylelint-taro-rn: 2.0.4 => 2.0.4 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Nov 2, 2020
@zhaoguoweiLLHC
Copy link
Contributor

你使用了跨平台框架,就需要使用同样跨平台的UI库相匹配,比如taro-ui 。不是随便哪个ui库都能用的。

@Chen-jj Chen-jj closed this as completed Oct 28, 2021
@ZakaryCode ZakaryCode added this to Done in H5 Aug 22, 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-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
H5
  
Done
Development

No branches or pull requests

3 participants