jd-opensource / jd-opensource/taro-ui

引入taro-ui在weapp端不兼容的问题

Open
#1,830 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**问题描述**

使用taro-cli 工具生成了基础模板
ui模版选择了taro-ui
在引入任意taro-ui组件在weapp端都会出现Cannot read property 'Component' of undefined
在h5端是正常的

```js
taro和taro-ui版本
Image

```

**期望行为**

**报错信息**

Image

**系统信息**

**补充信息**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.