-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
编译后的代码出现逻辑错误导致运行结果未达预期 #3220
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
找一下你的源代码贴出来,有一个循环返回 JSX 组件,用 |
我用的是taro-ui 的组件,组件代码是: |
CC @yuche |
感谢,你提供的信息非常有价值 |
@ctcx 代码格式化一下就好了 |
问题描述
发现这个问题是在使用 taro-ui 组件 AtIndexes 时显示错误
复现步骤
使用 AtIndexes 组件,每组数据达到20个以上时会出现(非报错)
以下是我查看AtIndexes组件编译后的代码片段
系统信息
Taro CLI 1.3.0-beta.5 environment info:
System:
OS: macOS 10.14.5
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.1.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
npmPackages:
@tarojs/async-await: ^1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/components: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/mobx: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/mobx-h5: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/mobx-rn: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/plugin-babel: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/plugin-csso: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/plugin-sass: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/plugin-uglifyjs: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/rn-runner: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/router: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/taro: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/taro-alipay: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/taro-h5: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/taro-swan: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/taro-tt: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/taro-weapp: 1.3.0-beta.3 => 1.3.0-beta.3
@tarojs/webpack-runner: 1.3.0-beta.3 => 1.3.0-beta.3
eslint-config-taro: 1.3.0-beta.3 => 1.3.0-beta.3
eslint-plugin-taro: 1.3.0-beta.3 => 1.3.0-beta.3
nervjs: ^1.4.0-beta.3 => 1.4.0-beta.4
npmGlobalPackages:
typescript: 3.1.5
The text was updated successfully, but these errors were encountered: