jd-opensource / jd-opensource/taro-ui

map遍历AtTabsPane 在ParserRichText 组件上的 index 失效

Open
#843 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**问题描述**

**复现步骤**

![2](https://user-images.githubusercontent.com/42957993/68021885-90462980-fcdd-11e9-94aa-bb04f5449821.png)
![WeChat Image_20191101191908](https://user-images.githubusercontent.com/42957993/68021887-90dec000-fcdd-11e9-9521-4bd0afa010e5.png)
```js
// 这里可以贴代码
```

**期望行为**

**报错信息**

thirdScriptError
Cannot read property 'data' of undefined;at api nextTick callback function
TypeError: Cannot read property 'data' of undefined
**系统信息**

👽 Taro v1.3.21

Taro CLI 1.3.21 environment info:
System:
OS: Windows 10
Binaries:
Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.10.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
{
"name": "myApp",
"version": "1.0.0",
"private": true,
"description": "WeChat live",
"scripts": {
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch"
},
"author": "",
"license": "MIT",
"dependencies": {
"@tarojs/async-await": "^1.3.21",
"@tarojs/components": "1.3.21",
"@tarojs/redux": "^1.3.21",
"@tarojs/router": "1.3.21",
"@tarojs/taro": "1.3.21",
"@tarojs/taro-alipay": "1.3.21",
"@tarojs/taro-h5": "1.3.21",
"@tarojs/taro-swan": "1.3.21",
"@tarojs/taro-tt": "1.3.21",
"@tarojs/taro-weapp": "^1.3.21",
"axios": "^0.19.0",
"chat-react": "^0.1.2",
"nerv-devtools": "^1.5.1",
"nervjs": "^1.5.1",
"prop-types": "^15.7.2",
"regenerator": "^0.13.1",
"taro-axios": "^0.5.3",
"taro-ui": "^2.2.3"
},
"devDependencies": {
"@tarojs/plugin-babel": "^1.3.21",
"@tarojs/plugin-csso": "1.3.21",
"@tarojs/plugin-sass": "^1.3.21",
"@tarojs/plugin-uglifyjs": "1.3.21",
"@tarojs/webpack-runner": "1.3.21",
"@types/react": "^16.4.6",
"@types/webpack-env": "^1.13.6",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-jsx-stylesheet": "^0.6.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"eslint": "^4.19.1",
"eslint-config-taro": "1.3.21",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-taro": "1.3.21"
}
}

**补充信息**

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.