|
@@ -227,11 +227,11 @@ export default defineComponent({
|
|
|
onClick={() => {
|
|
|
// 不是课后训练选段和单元测验选段,切换模式去除选段
|
|
|
if (!unitTestData.isSelectMeasureMode && detailState.sectionStatus) {
|
|
|
- RuntimeUtils.sectionChange()
|
|
|
+ RuntimeUtils.clearSectionStatus()
|
|
|
}
|
|
|
if (modelType.value === 'practice') {
|
|
|
// 当前为练习模式,需要停止播放
|
|
|
- RuntimeUtils.resetPlayStatus()
|
|
|
+ RuntimeUtils.resetPlayStatus(true)
|
|
|
RuntimeUtils.setCurrentTime(0)
|
|
|
}
|
|
|
if (modelType.value === 'evaluation') {
|
|
@@ -264,8 +264,10 @@ export default defineComponent({
|
|
|
show-arrow={false}
|
|
|
vSlots={{
|
|
|
reference: () => (
|
|
|
- <div>
|
|
|
- <Button class={[styles.button, styles.hasText]}>
|
|
|
+ <div onClick={(e: Event) => {
|
|
|
+ if (!startButtonShow.value) e.stopPropagation()
|
|
|
+ }}>
|
|
|
+ <Button class={[styles.button, styles.hasText]} disabled={!startButtonShow.value}>
|
|
|
<img src={SettingState.sett.camera ? iconCameraOn : iconCameraOff} />
|
|
|
<span>摄像头</span>
|
|
|
</Button>
|