Commit 719a7288 authored by liujiangnan's avatar liujiangnan

debug

parent f3af96ba
......@@ -126,11 +126,13 @@ export function initAir(_this) {
_this.log(`===成功调用stopTest===`);
if (!callback) {
// 不传回调函数就表示取消评测
_this.log(`===成功取消录音评测===`);
window.courseware.callOcMethod("stopTest", { isBreak: 1 });
return;
}
// 结束录音
window.air.testCallBack = (res) => {
_this.log(`===成功调用testCallBack=== res == ${JSON.stringify(res)}`);
callback && callback(JSON.stringify(res));
window.air.testCallBack = null;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment