瀏覽代碼

Merge branch 'v4' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into v4

许静 5 年之前
父節點
當前提交
0e09ac126d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/pages/shop/index.js

+ 1
- 1
src/pages/shop/index.js 查看文件

@@ -241,7 +241,7 @@ export default class Shop extends Component {
241 241
             <AtTabs scroll tabDirection='horizontal' current={current} tabList={goodsBuilding} onClick={this.handleClick.bind(this)}>
242 242
 
243 243
               {goodsBuilding.map((l_item, index) => (
244
-                <AtTabsPane current={current} key={index} index={index} >
244
+                <AtTabsPane current={current} key={`pane-${index}`} index={index} >
245 245
                   <View>
246 246
                     {
247 247
                       goodsList.map(item => (