From e89415cc4f29d2e755510a7ca0c5a26216be94d5 Mon Sep 17 00:00:00 2001 From: DCloud__JSON Date: Mon, 22 May 2023 22:25:19 +0800 Subject: [PATCH] 1.0.12 --- changelog.md | 3 + components/uni-ai-msg/uni-ai-msg.scss | 2 +- components/uni-ai-msg/uni-ai-msg.vue | 186 ++++++-- package.json | 2 +- pages/chat/chat.vue | 415 ++++++++---------- pages/chat/msgList.js | 1 + .../cloudfunctions/uni-ai-chat/package.json | 3 +- 7 files changed, 341 insertions(+), 271 deletions(-) create mode 100644 pages/chat/msgList.js diff --git a/changelog.md b/changelog.md index b5653b2..626881a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +## 1.0.12(2023-05-22) +- 优化 提升性能 +- 更新 更改`uni-ai-chat`云对象的`runtime`版本为`Nodejs12` ## 1.0.11(2023-05-17) - 修复 流式响应模式,微信小程序端,部分情况下:消息内容突然变空白的问题 - 优化 uni-ai问题回复完成后,消息输入框自动获取焦点 diff --git a/components/uni-ai-msg/uni-ai-msg.scss b/components/uni-ai-msg/uni-ai-msg.scss index 44da865..9546b0d 100644 --- a/components/uni-ai-msg/uni-ai-msg.scss +++ b/components/uni-ai-msg/uni-ai-msg.scss @@ -1,4 +1,4 @@ -@import "@/lib/highlight/github-dark.min.css"; +@import "@/lib/highlight/github-dark.min.css"; /* #ifndef APP-NVUE */ .rich-text-box ::v-deep pre.hljs { diff --git a/components/uni-ai-msg/uni-ai-msg.vue b/components/uni-ai-msg/uni-ai-msg.vue index 0033a2c..7004ed0 100644 --- a/components/uni-ai-msg/uni-ai-msg.vue +++ b/components/uni-ai-msg/uni-ai-msg.vue @@ -1,17 +1,40 @@ -