@tuya-miniapp/smart-ui 2.1.2-beta-1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ SmartComponent({
62
62
  },
63
63
  showDayPicker: false,
64
64
  dayClassMap: {
65
- '2024-01-20': "bottom-point"
65
+ '2024-01-17': "calendar-disabled"
66
66
  }
67
67
  },
68
68
  methods: {
@@ -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>
@@ -64,7 +64,7 @@ var component_1 = require("../../common/component");
64
64
  },
65
65
  showDayPicker: false,
66
66
  dayClassMap: {
67
- '2024-01-20': "bottom-point"
67
+ '2024-01-17': "calendar-disabled"
68
68
  }
69
69
  },
70
70
  methods: {
@@ -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.2-beta-1",
3
+ "version": "2.1.2",
4
4
  "author": "MiniApp Team",
5
5
  "license": "MIT",
6
6
  "miniprogram": "lib",