fix: bug

This commit is contained in:
杨航
2025-09-24 09:56:46 +08:00
parent 681e4b66a0
commit 8c47c82db4
3 changed files with 6 additions and 18 deletions
+3 -17
View File
@@ -11,23 +11,9 @@
<MarkdownPreview :mdString="mdText" />
</view>
<view class="talking-link">
<view :class="['link-cont', activeNames.indexOf(1) >= 0 ? 'is-active' : '']" v-if="fileList.length > 0">
<view class="link-info" @click="changeActive(1)">
<view class="info-text"> 引用知识库{{ fileList.length }}篇相关资料 </view>
</view>
<view class="link-items">
<view class="link-item" v-for="(item, index) in fileList" @click.stop="previewFile(item)">{{ index + 1 }}. {{ item.docName }}</view>
</view>
</view>
<view v-else-if="!props.isAnswering" class="link-cont-desc">本次回答参考资料来源于网络</view>
<view :class="['link-cont', activeNames.indexOf(2) >= 0 ? 'is-active' : '']" v-if="crsList.length > 0">
<view class="link-info" @click="changeActive(2)">
<view class="info-text"> 发现{{ crsList.length }}个关联课程 </view>
</view>
<view class="link-items">
<view class="link-item" v-for="(item, index) in crsList" @click.stop="previewCrs(item)">{{ index + 1 }}. {{ item.crsName }}</view>
</view>
</view>
<view class="link-cont-desc">大模型请求时长{{ dataInfo.aiAskTime }}ms</view>
<view class="link-cont-desc">生成语音文件时长{{ dataInfo.transVoice }}ms</view>
<view class="link-cont-desc">本次回答参考资料来源于网络</view>
</view>
<view class="btns-cont">
<view class="replay-btn" >
+2 -1
View File
@@ -360,7 +360,8 @@
talkingFiles: [],
talkingCrsList: [],
talkingVoice: '',
talkingVoiceId: res.body.fileId
talkingVoiceId: res.body.fileId,
...res.body
});
})