浏览代码

[RN] Add missing key prop to Android page indicator

master
zbettenbuk 7 年前
父节点
当前提交
1eac4c51ca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      react/features/base/react/components/native/PagedList.android.js

+ 1
- 0
react/features/base/react/components/native/PagedList.android.js 查看文件

@@ -123,6 +123,7 @@ class PagedList extends AbstractPagedList {
123 123
         return page.component
124 124
             ? <TouchableOpacity
125 125
                 disabled = { disabled }
126
+                key = { index }
126 127
                 onPress = { this._onIconPress(index) }
127 128
                 style = { styles.pageIndicator } >
128 129
                 <View style = { styles.pageIndicator }>

正在加载...
取消
保存