ソースを参照

修改年显示

xiaohaizhao 3 ヶ月 前
コミット
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,