From 32f0802f8bfeeae96f6ca9a7c9efa184bb103c96 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Fri, 18 Apr 2025 09:40:59 +0800 Subject: [PATCH] style: update AssistantConsole layout and extend store interface - Added height to the AssistantConsole component for improved layout consistency. - Extended StoreNamespace interface to include 'dataCollection' for better state management. --- frontend/crawlab-ui/src/components/core/ai/AssistantConsole.vue | 1 + frontend/crawlab-ui/src/interfaces/store/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/crawlab-ui/src/components/core/ai/AssistantConsole.vue b/frontend/crawlab-ui/src/components/core/ai/AssistantConsole.vue index a5970ff8..6159660a 100644 --- a/frontend/crawlab-ui/src/components/core/ai/AssistantConsole.vue +++ b/frontend/crawlab-ui/src/components/core/ai/AssistantConsole.vue @@ -267,6 +267,7 @@ defineOptions({ name: 'ClAssistantConsole' }); display: flex; justify-content: space-between; align-items: center; + height: 64px; padding: 16px; gap: 8px; border-bottom: 1px solid var(--el-border-color-light); diff --git a/frontend/crawlab-ui/src/interfaces/store/index.d.ts b/frontend/crawlab-ui/src/interfaces/store/index.d.ts index 3bac7d88..4bad81d2 100644 --- a/frontend/crawlab-ui/src/interfaces/store/index.d.ts +++ b/frontend/crawlab-ui/src/interfaces/store/index.d.ts @@ -174,6 +174,7 @@ export declare global { | 'database' | 'dependency' | 'environment' + | 'dataCollection' | 'llmProvider'; type StoreNamespace = ListStoreNamespace | 'layout' | 'common';