From 623941bb6d34336e6d1f22ca55244bd90a36109a Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Fri, 10 Mar 2023 11:25:29 +0800 Subject: [PATCH 1/5] [Web] Support ChatGPT multi-information recording --- core/datacap-web/console-fe/src/model/User.ts | 6 +++ .../views/pages/profile/ProfileChatGPT.vue | 51 ++++++++++++++++--- 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/core/datacap-web/console-fe/src/model/User.ts b/core/datacap-web/console-fe/src/model/User.ts index c8443af8..5c27dcb5 100644 --- a/core/datacap-web/console-fe/src/model/User.ts +++ b/core/datacap-web/console-fe/src/model/User.ts @@ -11,6 +11,12 @@ export class UserQuestion type: string; } +export class UserQuestionItem +{ + content: string; + isSelf: boolean; +} + export class ThirdConfigure { token = ''; diff --git a/core/datacap-web/console-fe/src/views/pages/profile/ProfileChatGPT.vue b/core/datacap-web/console-fe/src/views/pages/profile/ProfileChatGPT.vue index 4225defe..114976db 100644 --- a/core/datacap-web/console-fe/src/views/pages/profile/ProfileChatGPT.vue +++ b/core/datacap-web/console-fe/src/views/pages/profile/ProfileChatGPT.vue @@ -12,9 +12,23 @@
- +
+ + + + + + + + +
-