|
@@ -442,9 +442,9 @@ export default defineComponent({
|
|
|
{state.questionList.length}
|
|
|
</div>
|
|
|
<div class={styles.questionType}>
|
|
|
- {countDownRef.current.value.minutes +
|
|
|
- countDownRef.current.value.hours * 60}
|
|
|
- :{countDownRef.current.value.seconds}
|
|
|
+ {(countDownRef.current.value.minutes +
|
|
|
+ countDownRef.current.value.hours * 60).toString().padStart(2, '0')}
|
|
|
+ :{(countDownRef.current.value.seconds).toString().padStart(2, '0')}
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|
|
@@ -467,9 +467,9 @@ export default defineComponent({
|
|
|
{state.questionList.length}
|
|
|
</div>
|
|
|
<div class={styles.questionType}>
|
|
|
- {countDownRef.current.value.minutes +
|
|
|
- countDownRef.current.value.hours * 60}
|
|
|
- :{countDownRef.current.value.seconds}
|
|
|
+ {(countDownRef.current.value.minutes +
|
|
|
+ countDownRef.current.value.hours * 60).toString().padStart(2, '0')}
|
|
|
+ :{(countDownRef.current.value.seconds).toString().padStart(2, '0')}
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|
|
@@ -499,9 +499,9 @@ export default defineComponent({
|
|
|
{state.questionList.length}
|
|
|
</div>
|
|
|
<div class={styles.questionType}>
|
|
|
- {countDownRef.current.value.minutes +
|
|
|
- countDownRef.current.value.hours * 60}
|
|
|
- :{countDownRef.current.value.seconds}
|
|
|
+ {(countDownRef.current.value.minutes +
|
|
|
+ countDownRef.current.value.hours * 60).toString().padStart(2, '0')}
|
|
|
+ :{(countDownRef.current.value.seconds).toString().padStart(2, '0')}
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|
|
@@ -523,9 +523,9 @@ export default defineComponent({
|
|
|
{state.questionList.length}
|
|
|
</div>
|
|
|
<div class={styles.questionType}>
|
|
|
- {countDownRef.current.value.minutes +
|
|
|
- countDownRef.current.value.hours * 60}
|
|
|
- :{countDownRef.current.value.seconds}
|
|
|
+ {(countDownRef.current.value.minutes +
|
|
|
+ countDownRef.current.value.hours * 60).toString().padStart(2, '0')}
|
|
|
+ :{(countDownRef.current.value.seconds).toString().padStart(2, '0')}
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|
|
@@ -548,9 +548,9 @@ export default defineComponent({
|
|
|
{state.questionList.length}
|
|
|
</div>
|
|
|
<div class={styles.questionType}>
|
|
|
- {countDownRef.current.value.minutes +
|
|
|
- countDownRef.current.value.hours * 60}
|
|
|
- :{countDownRef.current.value.seconds}
|
|
|
+ {(countDownRef.current.value.minutes +
|
|
|
+ countDownRef.current.value.hours * 60).toString().padStart(2, '0')}
|
|
|
+ :{(countDownRef.current.value.seconds).toString().padStart(2, '0')}
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|