|
...
|
...
|
@@ -16,7 +16,11 @@ Component({ |
|
|
|
this.setData({
|
|
|
|
showYearMonth:this.getshowmonth(this.data.date)
|
|
|
|
})
|
|
|
|
this.triggerEvent('selectdate',{date:this.data.date,action:'defalut'})
|
|
|
|
if(this.data.date){
|
|
|
|
this.triggerEvent('selectdate',{date:this.data.date,action:'defalut'})
|
|
|
|
}else{
|
|
|
|
this.triggerEvent('selectdate',{date:util.unixtoTime(new Date()/1000,'YYYY-MM-DD'),action:'defalut'})
|
|
|
|
}
|
|
|
|
this.getweeklist();
|
|
|
|
this.getdaylist();
|
|
|
|
this.getFullDate();
|
...
|
...
|
|