From 857f9889924fb72009d88482889d2d1a36772bbb Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 9 Jul 2025 20:49:14 +0800 Subject: [PATCH] fix: style --- .../component/answer-content/index.vue | 4 +- .../component/chat-input-operate/index.vue | 21 +- .../ParagraphCard.vue | 4 +- .../component/prologue-content/index.vue | 4 +- .../component/question-content/index.vue | 2 +- ui/src/stores/modules/application.ts | 2 +- ui/src/styles/element-plus.scss | 6 + .../component/EditAvatarDialog.vue | 138 ------------- ui/src/views/application-overview/index.vue | 7 - .../xpack-component/XPackLimitDrawer.vue | 14 +- ui/src/views/application-workflow/index.vue | 188 +++++++++++++----- .../views/application/ApplicationSetting.vue | 28 ++- .../component/CopyApplicationDialog.vue | 2 +- ui/src/views/chat/embed/index.vue | 9 + ui/src/views/chat/index.vue | 9 - ui/src/views/chat/mobile/index.vue | 30 ++- ui/src/views/chat/pc/index.vue | 2 +- 17 files changed, 219 insertions(+), 251 deletions(-) delete mode 100644 ui/src/views/application-overview/component/EditAvatarDialog.vue diff --git a/ui/src/components/ai-chat/component/answer-content/index.vue b/ui/src/components/ai-chat/component/answer-content/index.vue index 1df601e64..f5022898e 100644 --- a/ui/src/components/ai-chat/component/answer-content/index.vue +++ b/ui/src/components/ai-chat/component/answer-content/index.vue @@ -100,10 +100,10 @@ const emit = defineEmits([ ]) const showAvatar = computed(() => { - return user.isEnterprise() ? props.application.show_avatar : true + return (user.isEE() || user.isPE())? props.application.show_avatar : true }) const showUserAvatar = computed(() => { - return user.isEnterprise() ? props.application.show_user_avatar : true + return user.isEE() || user.isPE() ? props.application.show_user_avatar : true }) const chatMessage = (question: string, type: 'old' | 'new', other_params_data?: any) => { if (type === 'old') { diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index 7a12f3633..689aa70e5 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -1,6 +1,5 @@ - diff --git a/ui/src/views/chat/mobile/index.vue b/ui/src/views/chat/mobile/index.vue index 3aec3abd8..8ec097e99 100644 --- a/ui/src/views/chat/mobile/index.vue +++ b/ui/src/views/chat/mobile/index.vue @@ -58,18 +58,18 @@ > - - +