xiaohaizhao пре 5 месеци
родитељ
комит
bf9d8b5a3c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      components/viewDate/index.js

+ 1 - 1
components/viewDate/index.js

@@ -160,7 +160,7 @@ Component({
                 return;
             }
             this.setData({
-                year
+                value: year
             })
             this.triggerEvent("onChange", {
                 startMonth: startMonth1 || endMonth1,