Commit b9ad2285 by 王志慧

fixed

1 parent d022fcb7
...@@ -44,8 +44,7 @@ ...@@ -44,8 +44,7 @@
<img class="robot" src="@/assets/robot.png" /> <img class="robot" src="@/assets/robot.png" />
AI对话摘要 AI对话摘要
</div> </div>
<div class="abText"> <div class="abText" v-html="formatSrt(detailObj.digest)">
{{ detailObj.digest }}
</div> </div>
</div> </div>
</div> </div>
...@@ -78,6 +77,9 @@ export default { ...@@ -78,6 +77,9 @@ export default {
this.conversationDetailPage() this.conversationDetailPage()
}, },
methods: { methods: {
formatSrt(str) {
return str.replace(/\n/g, "<br/>")
},
currentDialog(data) { currentDialog(data) {
this.myAud.currentTime = data.mergedOffset this.myAud.currentTime = data.mergedOffset
}, },
......
...@@ -204,6 +204,7 @@ export default { ...@@ -204,6 +204,7 @@ export default {
this.isQualityVisible = false this.isQualityVisible = false
}, },
qualitDetail(row) { qualitDetail(row) {
console.log(row)
this.detailObj = row this.detailObj = row
this.isQualityVisible = true this.isQualityVisible = true
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!