Showing
1 changed file
with
3 additions
and
3 deletions
| ... | ... | @@ -302,7 +302,7 @@ export default { |
| 302 | 302 | this.selectTimeVal = e.value; |
| 303 | 303 | let curTime = new Date(); |
| 304 | 304 | const formatS = curTime.getTime(); |
| 305 | - let addMinute = new Date(curTime.setMinutes(curTime.getMinutes() + this.selectTimeVal)); | |
| 305 | + let addMinute = new Date(curTime.setMinutes(curTime.getMinutes() - this.selectTimeVal)); | |
| 306 | 306 | const formatE = addMinute.getTime(); |
| 307 | 307 | this.timeData.getTimeGapS = formatS; |
| 308 | 308 | this.timeData.getTimeGapE = formatE; |
| ... | ... | @@ -323,8 +323,8 @@ export default { |
| 323 | 323 | this.startTimeArea = ''; |
| 324 | 324 | this.endTimeArea = ''; |
| 325 | 325 | } else { |
| 326 | - this.startTimeArea = this.timeData.getTimeGapS; | |
| 327 | - this.endTimeArea = this.timeData.getTimeGapE; | |
| 326 | + this.startTimeArea = this.timeData.getTimeGapE; | |
| 327 | + this.endTimeArea = this.timeData.getTimeGapS; | |
| 328 | 328 | } |
| 329 | 329 | this.loadData( |
| 330 | 330 | 1, | ... | ... |