优化滚动
This commit is contained in:
@@ -15,19 +15,7 @@ export default {
|
|||||||
expand: false,
|
expand: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
prompt: "",
|
prompt: "",
|
||||||
history: [
|
history: [],
|
||||||
// {avatar: "https://cdn.sinoecare.com/i/2024/06/04/665ec6f5ef213.png", msg: "你好", uid: "ai"},
|
|
||||||
// {
|
|
||||||
// avatar: "",
|
|
||||||
// msg: "AI 聊天机器人 ChatGPT 近日突然出现闪崩,响应超时或无法正常工作,故障长达近 7 小时。全球大量用户处于焦虑等待,因为许多人对此已经产生了依赖,工作不能自理。一些备选工具如 Perplexity、Claude 等也遭遇故障。摩根士丹利的数据显示,ChatGPT 故障后,谷歌 AI 聊天机器人 Gemini 搜索量激增 60%,达 327058 次,显示出用户把它视为 ChatGPT 的直接替代选项\n" +
|
|
||||||
// "\n" +
|
|
||||||
// "作者:RTE开发者社区\n" +
|
|
||||||
// "链接:https://juejin.cn/post/7377025870630862874\n" +
|
|
||||||
// "来源:稀土掘金\n" +
|
|
||||||
// "著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。",
|
|
||||||
// uid: "me"
|
|
||||||
// },
|
|
||||||
],
|
|
||||||
apps: [
|
apps: [
|
||||||
{label: "日常助理", icon: "https://cdn.sinoecare.com/i/2024/07/04/66864da37fc2b.png"},
|
{label: "日常助理", icon: "https://cdn.sinoecare.com/i/2024/07/04/66864da37fc2b.png"},
|
||||||
{label: "文本助理", icon: "https://cdn.sinoecare.com/i/2024/07/04/66864da1684ad.png"},
|
{label: "文本助理", icon: "https://cdn.sinoecare.com/i/2024/07/04/66864da1684ad.png"},
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
lastMessage() {
|
lastMessage() {
|
||||||
this.scrollBottom()
|
this.$nextTick(() => this.scrollBottom())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user