Showing
1 changed file
with
1 additions
and
6 deletions
| @@ -63,7 +63,6 @@ Component({ | @@ -63,7 +63,6 @@ Component({ | ||
| 63 | this.triggerEvent('selectdate',obj) | 63 | this.triggerEvent('selectdate',obj) |
| 64 | } | 64 | } |
| 65 | if(json.data.length>0){ | 65 | if(json.data.length>0){ |
| 66 | - console.log(json.data) | ||
| 67 | this.changespeciallist(json.data) | 66 | this.changespeciallist(json.data) |
| 68 | } | 67 | } |
| 69 | 68 | ||
| @@ -113,11 +112,7 @@ Component({ | @@ -113,11 +112,7 @@ Component({ | ||
| 113 | }, | 112 | }, |
| 114 | //上一月 | 113 | //上一月 |
| 115 | prevMonth(e){ | 114 | prevMonth(e){ |
| 116 | - if(this.data.nextNum==1){ | ||
| 117 | - this.gethousefulldate(e.detail.currentYear,e.detail.currentMonth,'defalut'); | ||
| 118 | - }else{ | ||
| 119 | - this.gethousefulldate(e.detail.currentYear,e.detail.currentMonth,'click'); | ||
| 120 | - } | 115 | + this.gethousefulldate(e.detail.currentYear,e.detail.currentMonth,'click'); |
| 121 | this.setData({ | 116 | this.setData({ |
| 122 | nextNum:this.data.nextNum-1 | 117 | nextNum:this.data.nextNum-1 |
| 123 | }) | 118 | }) |
-
Please register or login to post a comment