Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -104,7 +104,7 @@ Component({ | @@ -104,7 +104,7 @@ Component({ | ||
| 104 | //通知时段 | 104 | //通知时段 |
| 105 | tellsection(selectsection,action,index){ | 105 | tellsection(selectsection,action,index){ |
| 106 | let today=util.unixtoTime(new Date()/1000,'YYYY-MM-DD'); | 106 | let today=util.unixtoTime(new Date()/1000,'YYYY-MM-DD'); |
| 107 | - let curtimestamp=Number(new Date().getTime().toString().substr(0,10)); | 107 | + let curtimestamp=new Date()/1000; |
| 108 | let sectionarr=this.data.sectionlist[index].sectiondur.split('-'); | 108 | let sectionarr=this.data.sectionlist[index].sectiondur.split('-'); |
| 109 | let starttimestamp=Number(util.timetouUnix(today+' '+sectionarr[0]+':00')); | 109 | let starttimestamp=Number(util.timetouUnix(today+' '+sectionarr[0]+':00')); |
| 110 | let endtimestamp=Number(util.timetouUnix(today+' '+sectionarr[1]+':00')); | 110 | let endtimestamp=Number(util.timetouUnix(today+' '+sectionarr[1]+':00')); |
-
Please register or login to post a comment