+
result: {{ f }}
diff --git a/ui/src/layout/layout-header/avatar/APIKeyDialog.vue b/ui/src/layout/layout-header/avatar/APIKeyDialog.vue
index 637bcdeae..1a1cc3554 100644
--- a/ui/src/layout/layout-header/avatar/APIKeyDialog.vue
+++ b/ui/src/layout/layout-header/avatar/APIKeyDialog.vue
@@ -5,6 +5,7 @@
width="800"
:close-on-click-modal="false"
:close-on-press-escape="false"
+ align-center
>
{{ $t('layout.apiServiceAddress') }}
@@ -21,7 +22,13 @@
{{ $t('common.create') }}
-
+
diff --git a/ui/src/views/application-overview/component/APIKeyDialog.vue b/ui/src/views/application-overview/component/APIKeyDialog.vue
index 676366261..47f4c2e6b 100644
--- a/ui/src/views/application-overview/component/APIKeyDialog.vue
+++ b/ui/src/views/application-overview/component/APIKeyDialog.vue
@@ -10,7 +10,13 @@
{{ $t('common.create') }}
-
+
@@ -121,9 +127,7 @@ async function changeState(row: any) {
const obj = {
is_active: !row.is_active,
}
- const str = obj.is_active
- ? t('common.status.enabled')
- : t('common.status.disabled')
+ const str = obj.is_active ? t('common.status.enabled') : t('common.status.disabled')
await loadSharedApi({ type: 'applicationKey', systemType: apiType.value })
.putAPIKey(id as string, row.id, obj, loading)
.then(() => {
diff --git a/ui/src/views/chat/component/HistoryPanel.vue b/ui/src/views/chat/component/HistoryPanel.vue
index 43fb783a0..4d695dcd1 100644
--- a/ui/src/views/chat/component/HistoryPanel.vue
+++ b/ui/src/views/chat/component/HistoryPanel.vue
@@ -116,7 +116,7 @@
{{ $t('chat.createChat') }}
-
+
@@ -126,7 +126,7 @@
{{ $t('chat.history') }}
-
+
@@ -280,7 +280,6 @@ function refreshFieldTitle(chatId: string, abstract: string) {