@xtdev/xt-miniprogram-ui 1.2.52 → 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,
@@ -619,7 +619,7 @@ Component({
619
619
  },
620
620
  // 关闭选择器
621
621
  onClose() {
622
- this.onReset();
622
+ // this.onReset();
623
623
  this.setData({ show: false });
624
624
  this.triggerEvent("onClose", {});
625
625
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtdev/xt-miniprogram-ui",
3
- "version": "1.2.52",
3
+ "version": "1.2.54",
4
4
  "description": "",
5
5
  "miniprogram": "libs",
6
6
  "publishConfig": {