@tuya-miniapp/smart-ui 2.1.0-beta-5 → 2.1.1-beta-1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  <view class="contain">
2
2
  <smart-row>
3
- <smart-col wx:for="{{months}}" span="6" custom-class="col_item">
3
+ <smart-col wx:for="{{months}}" wx:key="index" span="6" custom-class="col_item">
4
4
  <view wx:if="{{item.type === 'disabled'}}" class="item item_disabled" data-index="{{index}}">
5
5
  {{item.text}}
6
6
  </view>
@@ -1,6 +1,6 @@
1
1
  <view class="contain">
2
2
  <smart-row>
3
- <smart-col wx:for="{{years}}" span="6" custom-class="col_item">
3
+ <smart-col wx:for="{{years}}" wx:key="index" span="6" custom-class="col_item">
4
4
  <view wx:if="{{item.type === 'disabled'}}" class="item item_disabled" data-index="{{index}}">
5
5
  {{item.text}}
6
6
  </view>
@@ -1,6 +1,6 @@
1
1
  <view class="contain">
2
2
  <smart-row>
3
- <smart-col wx:for="{{months}}" span="6" custom-class="col_item">
3
+ <smart-col wx:for="{{months}}" wx:key="index" span="6" custom-class="col_item">
4
4
  <view wx:if="{{item.type === 'disabled'}}" class="item item_disabled" data-index="{{index}}">
5
5
  {{item.text}}
6
6
  </view>
@@ -1,6 +1,6 @@
1
1
  <view class="contain">
2
2
  <smart-row>
3
- <smart-col wx:for="{{years}}" span="6" custom-class="col_item">
3
+ <smart-col wx:for="{{years}}" wx:key="index" span="6" custom-class="col_item">
4
4
  <view wx:if="{{item.type === 'disabled'}}" class="item item_disabled" data-index="{{index}}">
5
5
  {{item.text}}
6
6
  </view>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/smart-ui",
3
- "version": "2.1.0-beta-5",
3
+ "version": "2.1.1-beta-1",
4
4
  "author": "MiniApp Team",
5
5
  "license": "MIT",
6
6
  "miniprogram": "lib",