Commit a9a59f2b by caoyanzhi

update: ai营销

parent ecd772ae
......@@ -42,9 +42,9 @@
<template v-else>
<div v-for="item in el.decisionItemRecordDTOList" :key="item.id" class="sound-record">
<div class="temp-detail-desc">{{ item.knowledge || '--' }}</div>
<template v-if="item.realKnowledgeOssUrl">
<template v-if="item.realKnowledgeOssUrl || item.ttsKnowledgeOssUrl">
<el-button type="text" @click="onPlay(item, `player-${el.decisionId}-${item.id}`)" :loading="item.playing">{{ item.playing ? '播放中...' : '播放' }}</el-button>
<audio :id="`player-${el.decisionId}-${item.id}`" :src="item.realKnowledgeOssUrl"></audio>
<audio :id="`player-${el.decisionId}-${item.id}`" :src="item.realKnowledgeOssUrl || item.ttsKnowledgeOssUrl"></audio>
</template>
</div>
</template>
......
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