Commit aec4e9a0 authored by limingzhe's avatar limingzhe

fix: debug

parent 4068e090
...@@ -24,6 +24,7 @@ class StudyRecord { ...@@ -24,6 +24,7 @@ class StudyRecord {
* @param {number} score - 录音分数 * @param {number} score - 录音分数
*/ */
recordAudioScore(key, score) { recordAudioScore(key, score) {
console.log('recordAudioScore: ', key, score);
if (!this.audioScores[key]) { if (!this.audioScores[key]) {
this.audioScores[key] = []; this.audioScores[key] = [];
} }
...@@ -151,6 +152,7 @@ class StudyRecord { ...@@ -151,6 +152,7 @@ class StudyRecord {
*/ */
addAudioDuration(duration) { addAudioDuration(duration) {
this.totalAudioDuration += duration; this.totalAudioDuration += duration;
console.log('totalAudioDuration: ', this.totalAudioDuration);
} }
/** /**
......
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