From e9abfd6f450bd8ee02f550dd18526f82a41f3248 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 12 Dec 2023 16:00:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A6=82=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ai-chat/LogOperationButton.vue | 16 ++------ ui/src/components/ai-chat/index.vue | 2 +- ui/src/components/layout-container/index.vue | 10 +++-- .../components/top-bar/avatar/index.vue | 3 +- ui/src/views/applicaiton-overview/index.vue | 38 +++++++++++++------ .../views/log/component/EditContentDialog.vue | 12 +++--- 6 files changed, 46 insertions(+), 35 deletions(-) diff --git a/ui/src/components/ai-chat/LogOperationButton.vue b/ui/src/components/ai-chat/LogOperationButton.vue index 32d31fe9c..10392551f 100644 --- a/ui/src/components/ai-chat/LogOperationButton.vue +++ b/ui/src/components/ai-chat/LogOperationButton.vue @@ -19,11 +19,7 @@ - + diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 711001170..a40bbf26e 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -71,7 +71,7 @@ 消耗 {{ item?.message_tokens + item?.answer_tokens }} tokens - +
diff --git a/ui/src/components/layout-container/index.vue b/ui/src/components/layout-container/index.vue index 884900816..383773890 100644 --- a/ui/src/components/layout-container/index.vue +++ b/ui/src/components/layout-container/index.vue @@ -7,10 +7,11 @@

{{ header }}

- -
- -
+ +
+ +
+
@@ -41,6 +42,7 @@ const showBack = computed(() => { background-color: var(--app-view-bg-color); border-radius: 4px; box-sizing: border-box; + min-width: 700px; } } diff --git a/ui/src/layout/components/top-bar/avatar/index.vue b/ui/src/layout/components/top-bar/avatar/index.vue index 7dda01804..e8a0eb93e 100644 --- a/ui/src/layout/components/top-bar/avatar/index.vue +++ b/ui/src/layout/components/top-bar/avatar/index.vue @@ -13,7 +13,7 @@