Commit cd37ecdd authored by limingzhe's avatar limingzhe

fix: debug

parent d8219af0
......@@ -2216,7 +2216,7 @@ showStartLight() {
this.readingEndWordArr = [];
this.readingWordArr = this.curReadingItem.content.split(" ");
this.readingWordArr = this.curReadingItem.content.split("");
const smallContent = this.curReadingItem.content.toLowerCase();
const arr = smallContent.split(" ");
......@@ -2234,6 +2234,13 @@ showStartLight() {
getRecordData() {
const dataObj = {"audioUrl":"","eof":0,"file":"/storage/emulated/0/Android/data/com.intsig.android.dmeo/cache/shengtong/gradeVoice.mp3","result":{"fluency":0,"integrity":0,"kernel_version":"2.1.7","overall":0,"pronunciation":0,"resource_version":"2.1.6","rhythm":0,"speed":0,"words":[{"charType":0,"scores":{"overall":0,"prominence":0,"pronunciation":100},"word":"wan3"},{"charType":0,"scores":{"overall":0,"prominence":0,"pronunciation":100},"word":"shang4"}]},"tokenId":"654365b133279375d9000001"}
if (dataObj?.result?.words) {
this.onRecord(dataObj?.result?.words)
}
// let count = 0;
// const tempId = setInterval(() => {
// const index = Math.floor( Math.random() * this.readingWordArr.length );
......@@ -2325,6 +2332,11 @@ showStartLight() {
startRecordToText() {
console.log(' in startRecordToText 1 ')
// this.getRecordData();
// return;
const startRealtimeRecord = window?.courseware?.startRealtimeRecord;
// const curContent = this.curReadingItem.content;
const content_yb = this.curReadingItem.content_yb;
......
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