NervJS / taro-ui

一款基于 Taro 框架开发的多端 UI 组件库
https://taro-ui.taro.zone
MIT License
4.55k stars 756 forks source link

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

Open xiaoForest opened 5 years ago

xiaoForest commented 5 years ago

问题描述

复现步骤

2 WeChat Image_20191101191908

// 这里可以贴代码

期望行为

报错信息

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" } }

补充信息

taro-ui-bot[bot] commented 5 years ago

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~