diff --git a/src/components/xt-chat/chat-view/components/right-view/index.vue b/src/components/xt-chat/chat-view/components/right-view/index.vue index 39e0f0c..382388c 100644 --- a/src/components/xt-chat/chat-view/components/right-view/index.vue +++ b/src/components/xt-chat/chat-view/components/right-view/index.vue @@ -26,8 +26,6 @@ export default { typographer: true, }); - console.log(props.rightViewData) - const dataSource = computed(() => { return props.rightViewData.find((v) => v.task_type === '任务管理') ?? {}; }); diff --git a/src/components/xt-chat/chat-view/constants.ts b/src/components/xt-chat/chat-view/constants.ts index a0a23a1..4e390fa 100644 --- a/src/components/xt-chat/chat-view/constants.ts +++ b/src/components/xt-chat/chat-view/constants.ts @@ -39,7 +39,7 @@ export const ROLE_STYLE = { export const ANSWER_STYLE = { ...ROLE_STYLE, - paddingLeft: '12px', + paddingLeft: '14px', borderLeft: '1px solid #E6E6E8', position: 'relative', left: '6px', diff --git a/src/components/xt-chat/chat-view/index.vue b/src/components/xt-chat/chat-view/index.vue index b584aa3..6592213 100644 --- a/src/components/xt-chat/chat-view/index.vue +++ b/src/components/xt-chat/chat-view/index.vue @@ -149,7 +149,7 @@ export default { return () => (
-
+
( - <> -
- {extra_data && ( -
- -
- - - 创建时间:{exactFormatTime(dayjs().unix())} - + _targetTask.content.customRender = () => { + const _targetData = extra_data?.data.find((item: any) => item.task_type === '任务管理') + return ( + <> +
+ {_targetData && ( +
+ +
+ + + 创建时间:{exactFormatTime(dayjs().unix())} + +
-
- )} - - ); + )} + + ); + } + } else { _targetTask.content.teamRunStatus = EnumTeamRunStatus.TeamRunCompleted; } diff --git a/src/views/home/components/sender-input/index.vue b/src/views/home/components/sender-input/index.vue index efb7216..67915a2 100644 --- a/src/views/home/components/sender-input/index.vue +++ b/src/views/home/components/sender-input/index.vue @@ -35,7 +35,6 @@ export default { watch( () => props.modelValue, (newValue) => { - console.log(newValue); localSearchValue.value = newValue || ''; }, );