Ver código fonte

去掉警告

bobo 3 anos atrás
pai
commit
ad54a13d0e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      pages/welfareMall/index/index.wxml

+ 1 - 1
pages/welfareMall/index/index.wxml

@@ -11,7 +11,7 @@
 
     </swiper>
     <view class="dots">
-      <block wx:for="{{bannerList}}" wx:key>
+      <block wx:for="{{bannerList}}" wx:key="index">
         <view class="dot{{index == currentSwiper ? ' active_dot' : ''}}"></view>
       </block>
     </view>