提交 9344e37e 编写于 作者: M m0_66604273

Auto Commit

上级 29e92c29
...@@ -30,8 +30,8 @@ import { apiKey, apiUrl } from './api'; ...@@ -30,8 +30,8 @@ import { apiKey, apiUrl } from './api';
export default { export default {
data() { data() {
return { return {
question: '', question: '你好',
loading: false, loading: true,
dialogs: [] dialogs: []
} }
}, },
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
this.dialogs.push({ this.dialogs.push({
id: this.dialogs.length + 1, id: this.dialogs.length + 1,
role: 'me', role: 'wo',
text: question text: question
}); });
...@@ -54,8 +54,9 @@ export default { ...@@ -54,8 +54,9 @@ export default {
this.dialogs.push({ this.dialogs.push({
id: aiDialogID, id: aiDialogID,
role: 'ai', role: 'ai',
text: 'AI 思考中...' text: '正载'
}); });
const dialog = this.dialogs.find(item => item.id === aiDialogID); const dialog = this.dialogs.find(item => item.id === aiDialogID);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册