diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index 386546c66..848691c05 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -1,5 +1,12 @@ @@ -193,6 +155,7 @@ diff --git a/ui/src/components/ai-chat/ParagraphSourceDialog.vue b/ui/src/components/ai-chat/ParagraphSourceDialog.vue index 4543e92c3..4034c7cac 100644 --- a/ui/src/components/ai-chat/ParagraphSourceDialog.vue +++ b/ui/src/components/ai-chat/ParagraphSourceDialog.vue @@ -19,46 +19,7 @@ @@ -71,9 +32,9 @@ import { ref, watch, onBeforeUnmount } from 'vue' import { cloneDeep } from 'lodash' import { arraySort } from '@/utils/utils' +import ParagraphCard from './component/ParagraphCard.vue' const emit = defineEmits(['refresh']) -const ParagraphDialogRef = ref() const dialogVisible = ref(false) const detail = ref({}) @@ -109,9 +70,6 @@ defineExpose({ open }) .paragraph-source-height { max-height: calc(100vh - 260px); } - .paragraph-source-card { - height: 260px; - } } @media only screen and (max-width: 768px) { .paragraph-source { @@ -119,9 +77,6 @@ defineExpose({ open }) .footer-content { display: block; } - .paragraph-source-card { - height: 285px; - } } } diff --git a/ui/src/components/ai-chat/component/ParagraphCard.vue b/ui/src/components/ai-chat/component/ParagraphCard.vue new file mode 100644 index 000000000..104e66242 --- /dev/null +++ b/ui/src/components/ai-chat/component/ParagraphCard.vue @@ -0,0 +1,58 @@ + + + diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index 6cffaf100..ca4bf1703 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -117,8 +117,8 @@ function publicHandle() { work_flow: getGraphData() } applicationApi.putPublishApplication(id as String, obj, loading).then(() => { - MsgSuccess('发布成功') getDetail() + MsgSuccess('发布成功') }) }) .catch((res: any) => { diff --git a/ui/src/workflow/common/CustomLine.vue b/ui/src/workflow/common/CustomLine.vue index 02747cf04..48146e5a9 100644 --- a/ui/src/workflow/common/CustomLine.vue +++ b/ui/src/workflow/common/CustomLine.vue @@ -2,8 +2,8 @@