//终止按钮function OnEnd(): void { if (form.id == null) return protocol.ctrl = 3 protocol.message = "终止作业" gameProgress.value = 0; minuteNum.value = '0' secondNum.value = '0' protocol.progress = gameProgress.value emit('ctrlEvent', JSON.stringify(protocol)) isPlaying.value = false}