mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 17:43:55 +08:00
fix: mobile 修复声纹管理-编辑模式下声纹向量展示异常的问题
This commit is contained in:
@@ -137,7 +137,6 @@ async function loadChatHistory() {
|
|||||||
audioId: item.audioId,
|
audioId: item.audioId,
|
||||||
index,
|
index,
|
||||||
}))
|
}))
|
||||||
showChatHistoryDialog.value = true
|
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
console.error('获取对话记录失败:', error)
|
console.error('获取对话记录失败:', error)
|
||||||
@@ -368,6 +367,7 @@ onMounted(async () => {
|
|||||||
// 智能体已简化为默认
|
// 智能体已简化为默认
|
||||||
|
|
||||||
loadVoicePrintList()
|
loadVoicePrintList()
|
||||||
|
loadChatHistory()
|
||||||
})
|
})
|
||||||
|
|
||||||
// 暴露方法给父组件
|
// 暴露方法给父组件
|
||||||
@@ -468,7 +468,7 @@ defineExpose({
|
|||||||
</text>
|
</text>
|
||||||
<view
|
<view
|
||||||
class="flex cursor-pointer items-center justify-between border-[1rpx] border-[#eeeeee] rounded-[12rpx] bg-[#f5f7fb] p-[20rpx] transition-all duration-300 active:bg-[#eef3ff]"
|
class="flex cursor-pointer items-center justify-between border-[1rpx] border-[#eeeeee] rounded-[12rpx] bg-[#f5f7fb] p-[20rpx] transition-all duration-300 active:bg-[#eef3ff]"
|
||||||
@click="loadChatHistory"
|
@click="showChatHistoryDialog = true"
|
||||||
>
|
>
|
||||||
<text
|
<text
|
||||||
class="m-r-[16rpx] flex-1 text-left text-[26rpx] text-[#232338]"
|
class="m-r-[16rpx] flex-1 text-left text-[26rpx] text-[#232338]"
|
||||||
@@ -547,7 +547,7 @@ defineExpose({
|
|||||||
</text>
|
</text>
|
||||||
<view
|
<view
|
||||||
class="flex cursor-pointer items-center justify-between border-[1rpx] border-[#eeeeee] rounded-[12rpx] bg-[#f5f7fb] p-[20rpx] transition-all duration-300 active:bg-[#eef3ff]"
|
class="flex cursor-pointer items-center justify-between border-[1rpx] border-[#eeeeee] rounded-[12rpx] bg-[#f5f7fb] p-[20rpx] transition-all duration-300 active:bg-[#eef3ff]"
|
||||||
@click="loadChatHistory"
|
@click="showChatHistoryDialog = true"
|
||||||
>
|
>
|
||||||
<text
|
<text
|
||||||
class="m-r-[16rpx] flex-1 text-left text-[26rpx] text-[#232338]"
|
class="m-r-[16rpx] flex-1 text-left text-[26rpx] text-[#232338]"
|
||||||
|
|||||||
Reference in New Issue
Block a user