jd-opensource / jd-opensource/taro-ui

atcard组件 自定义图标功能无效

Open
#1,059 10 comments 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 UI 版本信息

v2.3.4

### 问题描述

使用 renderIcon 渲染自定义图标 无法显示

### 复现步骤

引入atcard 使用 renderIcon 即可复现

### 复现代码

}
>
这也是内容区 可以随意定义功能

### 报错信息

### 系统信息

Taro CLI 2.1.5 environment info:
System:
OS: macOS 10.15.4
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
npmPackages:
@tarojs/components: 2.1.5 => 2.1.5
@tarojs/components-qa: 2.1.5 => 2.1.5
@tarojs/mini-runner: 2.1.5 => 2.1.5
@tarojs/redux: 2.1.5 => 2.1.5
@tarojs/redux-h5: 2.1.5 => 2.1.5
@tarojs/router: 2.1.5 => 2.1.5
@tarojs/taro: 2.1.5 => 2.1.5
@tarojs/taro-alipay: 2.1.5 => 2.1.5
@tarojs/taro-h5: 2.1.5 => 2.1.5
@tarojs/taro-qq: 2.1.5 => 2.1.5
@tarojs/taro-quickapp: 2.1.5 => 2.1.5
@tarojs/taro-swan: 2.1.5 => 2.1.5
@tarojs/taro-tt: 2.1.5 => 2.1.5
@tarojs/taro-weapp: 2.1.5 => 2.1.5
@tarojs/webpack-runner: 2.1.5 => 2.1.5
eslint-config-taro: 2.1.5 => 2.1.5
eslint-plugin-taro: 2.1.5 => 2.1.5
nerv-devtools: ^1.5.5 => 1.5.6
nervjs: ^1.5.5 => 1.5.6
stylelint-config-taro-rn: 2.1.5 => 2.1.5
stylelint-taro-rn: 2.1.5 => 2.1.5
taro-ui: ^2.3.4 => 2.3.4

### 补充信息

在微信工具中进行审查 没有办法发现元素对应节点 使用官网示例代码也无法使用正常的功能

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.