语音训练代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-29 10:21:51 +08:00
parent 5678d8dfad
commit 330416f0e0

View File

@ -20,9 +20,13 @@
Your browser does not support the audio tag.
</audio>
</div>
<div style="flex: 1;padding: 7px; 17px">
<div style="flex: 1;padding: 7px 17px">
<div style="word-break: break-all"> {{ chatContent.result||"无" }} </div>
</div>
<div style="">
<el-input type="textarea" style="width:300px;vertical-align:top;margin-right:100px;" placeholder="备注" />
<el-button type="text" style="margin-right:10px;" @click="deleteRecord(index)">删除</el-button>
</div>
</div>
</div>
<div v-if="!messageList.length" style="text-align: center;padding: 17px;color: #a1a1a1;">暂无数据</div>
@ -163,6 +167,9 @@ export default {
that.recorders = null;
}
});
},
deleteRecord(index) {
this.messageList.splice(index, 1);
}
}
};
@ -232,4 +239,5 @@ export default {
padding: 3px;
}
}
.deleteRecord{}
</style>