Comments (3)
const children = data.map((val, key) => (<element key={`${key}`} />));
建议不要直接 number。。。。转一下吧。。。
from banner-anim.
https://facebook.github.io/react/docs/lists-and-keys.html#extracting-components-with-keys 官方建议 key 是转成 string 类型的。。。
from banner-anim.
明白了,能在error里面提一句么?
from banner-anim.
Related Issues (20)
- Module not found: 'rc-queue-anim' HOT 2
- 请教问题 HOT 2
- 当我设置背景图宽高后 为什么只显示图片 不显示文字呢 这是什么原因? HOT 5
- 当BannerAnim 的type是gridBar或grid时,播放动画时高度不能自适应。
- BannerAnim轮播闪烁
- BannerAnim 可以提供 currentShowInt 接口吗 HOT 1
- React 16 无法工作 HOT 2
- BannerAnim自动播放时设置dragPlay={false}导致播放时间异常 HOT 1
- Bug: touch event => 'clientX' of undefined HOT 2
- banner-anim crashed when used with rc-tween-one HOT 1
- banner-anim crashed when using antd grid inside Element HOT 3
- 0.3.0
- banner项数量大于等于3, 且设置了背景, 在拖动切换的过程中, 后面的banner项背景会覆盖掉banner项 HOT 1
- IE9 下显示的问题 HOT 1
- webpack build error: cannot delete object property on strict mode
- 开启 Autoplay 之后,如果手动点击箭头进行切换,没有重置计时器 HOT 1
- banner 怎么更autoplay换时间 HOT 2
- autoPlayEffect 参数ts不支持,提示没有参赛 HOT 1
- How Can l Show Muti Image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from banner-anim.