|
@@ -196,7 +196,7 @@ const connect = async () => {
|
|
|
clientId: 'STUDENT',
|
|
|
hertz: SettingState.sett.hertz,
|
|
|
feature: 'EVALUATION',
|
|
|
- practiceSource: search.unitId ? 'UNIT_TEST' : 'PRACTICE',
|
|
|
+ practiceSource: (search.resourceType && search.resourceType === 'practice') ? 'UNIT_TEST_PRACTICE' : search.unitId ? 'UNIT_TEST' : 'PRACTICE',
|
|
|
// 这里定义的是数字但是因为是通过input输入所以强制转化一次
|
|
|
reactionTimeMs: parseFloat('' + SettingState.eva.reactionTimeMs) || 0,
|
|
|
speed: runtime.speed,
|
|
@@ -264,7 +264,7 @@ const cancelTheEvaluation = () => {
|
|
|
RuntimeUtils.clearIntervalTimeline()
|
|
|
RuntimeUtils.setCurrentTime(0)
|
|
|
Toast.clear()
|
|
|
- }, 200);
|
|
|
+ }, 500);
|
|
|
}
|
|
|
|
|
|
const stopPlay = () => {
|
|
@@ -391,7 +391,7 @@ const playerStop = () => {
|
|
|
}
|
|
|
)
|
|
|
RuntimeUtils.endCapture()
|
|
|
- },200)
|
|
|
+ },500)
|
|
|
}
|
|
|
export const evaluatPlayerStop = playerStop
|
|
|
|