|
@@ -280,8 +280,6 @@ export default defineComponent({
|
|
|
// 提交
|
|
|
const onSubmit = async () => {
|
|
|
try {
|
|
|
- // 暂停回调
|
|
|
- forms.player.pause()
|
|
|
forms.intervalFnRef?.pause()
|
|
|
currentTimer.pause()
|
|
|
// 页面计时暂停
|
|
@@ -296,7 +294,6 @@ export default defineComponent({
|
|
|
orchestraId: forms.orchestraId,
|
|
|
openId: forms.openId
|
|
|
})
|
|
|
-
|
|
|
// window.location.href =
|
|
|
// window.location.origin +
|
|
|
// '/project/preRegister.html?' +
|
|
@@ -405,7 +402,17 @@ export default defineComponent({
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
- <Button class={styles.submitBtn} onClick={onSubmit}></Button>
|
|
|
+ <Button
|
|
|
+ class={styles.submitBtn}
|
|
|
+ onClick={() => {
|
|
|
+ // 暂停回调
|
|
|
+ forms.player.pause()
|
|
|
+ videoIntervalRef.pause()
|
|
|
+ setTimeout(() => {
|
|
|
+ onSubmit()
|
|
|
+ }, 100)
|
|
|
+ }}
|
|
|
+ ></Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|