소스 검색

修改年显示

xiaohaizhao 4 달 전
부모
커밋
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,