Skip to content

Commit 48b3587

Browse files
authored
Fix/tomini (#83)
* 修复点击缩略图消失的bug * auto prettier format code * fix * fix * version * auto prettier format code * fix * version
1 parent a26d698 commit 48b3587

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/components/assistant/Sidebar.vue

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -561,18 +561,6 @@
561561
)
562562
} catch (error) {
563563
const errorMsgTime = getCurrentTime()
564-
// 获取错误信息
565-
let errorMessage = ''
566-
if (
567-
error &&
568-
typeof error === 'object' &&
569-
'message' in error &&
570-
typeof error.message === 'string'
571-
) {
572-
errorMessage = error.message
573-
} else {
574-
errorMessage = String(error)
575-
}
576564
577565
// 添加错误消息
578566
chatMessages.value.push({

0 commit comments

Comments
 (0)