提交 db5b09cd authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 9d1a3021
...@@ -91,6 +91,7 @@ export function useChat(options: any) { ...@@ -91,6 +91,7 @@ export function useChat(options: any) {
* 假数据Start * 假数据Start
*/ */
const customData: any = { const customData: any = {
'13811534871': `【慧农贷】低利率,活体抵押,创新金融!11月15日厅堂沙龙,好礼相送,期待您的光临,共享财富盛宴!🚀🎉`,
'18810031001': `【慧农贷】低利率,活体抵押,创新金融!11月15日厅堂沙龙,好礼相送,期待您的光临,共享财富盛宴!🚀🎉`, '18810031001': `【慧农贷】低利率,活体抵押,创新金融!11月15日厅堂沙龙,好礼相送,期待您的光临,共享财富盛宴!🚀🎉`,
'18810031002': `【慧农贷·您的融资捷径】 '18810031002': `【慧农贷·您的融资捷径】
...@@ -110,7 +111,7 @@ export function useChat(options: any) { ...@@ -110,7 +111,7 @@ export function useChat(options: any) {
if (customContent) { if (customContent) {
isLoading.value = true isLoading.value = true
setTimeout(() => { setTimeout(() => {
messages.value.push({ conversationId: crypto.randomUUID(), role: 'bot', content: customContent }) messages.value.push({ conversationId: Date.now() + '', role: 'bot', content: customContent })
isLoading.value = false isLoading.value = false
}, 3000) }, 3000)
return return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论