@xtdev/xt-miniprogram-ui 1.2.53 → 1.2.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -598,7 +598,7 @@ Component({
598
598
  let curDateArr = this.transformToArr(defaultDate);
599
599
  let minDateArr = this.transformToArr(minDate);
600
600
  resetDateStr = `${curDateArr[0]}年${curDateArr[1]}月${curDateArr[2]}日`;
601
- resetDateArr = [curDateArr[0] - (minDateArr && minDateArr[0] ? minDateArr[0] : 1990), curDateArr[1] - 1, curDateArr[2] - 1];
601
+ resetDateArr = [curDateArr[0] - (minDateArr && minDateArr[0] ? minDateArr[0] : 1990), curDateArr[1] - 1, curDateArr[2]];
602
602
  resetDateValue = `${curDateArr[0]}-${curDateArr[1]}-${curDateArr[2]}`;
603
603
  this.setData({
604
604
  dateArr: resetDateArr,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtdev/xt-miniprogram-ui",
3
- "version": "1.2.53",
3
+ "version": "1.2.54",
4
4
  "description": "",
5
5
  "miniprogram": "libs",
6
6
  "publishConfig": {