Bug 206 语音训练结果在查询的时候,选择A用户,结果里出现了B用户的语音

This commit is contained in:
fan 2021-05-13 13:22:30 +08:00
parent bf69914d21
commit 149d4cf995

View File

@ -174,6 +174,13 @@ export default {
if (this.userId) { if (this.userId) {
this.loading = true; this.loading = true;
audioFilesCheckAllSence(this.$route.query.sceneId, this.userId).then(resp => { audioFilesCheckAllSence(this.$route.query.sceneId, this.userId).then(resp => {
this.actionList.forEach(item => {
item.result = '';
item.wrongKeyWords = [];
item.wrongTripNumbers = [];
item.recordId = '';
item.filePath = '';
});
(resp.data || []).forEach(elem => { (resp.data || []).forEach(elem => {
this.actionList.forEach(item => { this.actionList.forEach(item => {
if (elem.actionId === item.id) { if (elem.actionId === item.id) {