diff --git a/index.html b/index.html index 75d533d..02a17b5 100644 --- a/index.html +++ b/index.html @@ -48,7 +48,7 @@
- +
@@ -177,7 +177,7 @@ param: { codeAndAnswerList: [ { - answer: time, + answer: [time], questionCode: 'JRZLSJ' } ], @@ -306,10 +306,9 @@ min = '0' + min } var chooseTime = `${year}-${month}-${day} ${hour}:${min}` - this.chooseTimeValue = new Date(chooseTime).getTime() + this.chooseTimeValue = new Date(chooseTime.replace(/-/g,'/')).getTime() if(chooseTime){ await this.choose(new Date(chooseTime).getTime()) - console.log('new Date(chooseTime).getTime(): ', new Date(chooseTime).getTime()); this.cancelTime() } },