From 3ad44d2ae574c8a88ea943c06492e94e60889900 Mon Sep 17 00:00:00 2001
From: 64104061f23fda247c679fa8 <64104061f23fda247c679fa8@devide>
Date: Mon, 15 May 2023 03:43:38 +0000
Subject: [PATCH] update
---
src/App.vue | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 4a35e35..26d8f80 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -14,7 +14,14 @@
:autosize="{ minRows: 4, maxRows: 6 }"
placeholder="输入你的问题"
/>
-
+
+
+
+
+
+
+
+
@@ -27,11 +34,11 @@
dialogs: [
{
role: 'me',
- text: 'vscode 的'
+ text: '你好'
},
{
role: 'ai',
- text: 'dshjfjksdhfkjsdhkjfdsjkhfksdhdfjkjkdsfjkhsdkjfhsddshjfjksdhfkjsdhkjfdsjkhfksdhdfjkjkdsfjkhsdkjfhsddshjfjksdhfkjsdhkjfdsjkhfksdhdfjkjkdsfjkhsdkjfhsd'
+ text: '你也好'
}
]
}
@@ -40,6 +47,10 @@
handleSend () {
if (this.loading) return;
this.loading = true;
+ // todo
+ },
+ handleNewChat () {
+ this.dialogs = [];
}
}
}
--
GitLab