Commit f263dfc5 authored by limingzhe's avatar limingzhe

fix: debug

parent e4d9ca92
No preview for this file type
...@@ -824,6 +824,14 @@ cc.Class({ ...@@ -824,6 +824,14 @@ cc.Class({
console.log('writeRegions: ', writeRegions); console.log('writeRegions: ', writeRegions);
console.log('circleRegions: ', circleRegions); console.log('circleRegions: ', circleRegions);
// setInterval(() => {
// this.getPhotoData((data) => {
// this.photoEnd(data);
// });
// }, 1000);
const cw = window.courseware; const cw = window.courseware;
if (!cw || !cw.openOsmoHandwriting) { if (!cw || !cw.openOsmoHandwriting) {
...@@ -865,12 +873,7 @@ cc.Class({ ...@@ -865,12 +873,7 @@ cc.Class({
cw.openOsmoHandwriting(para); cw.openOsmoHandwriting(para);
// setInterval(() => {
// this.getPhotoData((data) => {
// this.photoEnd(data);
// });
// }, 1000);
}, },
//结束检测 //结束检测
...@@ -5761,6 +5764,7 @@ cc.Class({ ...@@ -5761,6 +5764,7 @@ cc.Class({
return; return;
} }
if (data.audio_url) { if (data.audio_url) {
cc.audioEngine.stopAllEffects();
playAudioByUrl(data.audio_url); playAudioByUrl(data.audio_url);
} }
}) })
......
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