diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index b09882fa..6071638f 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -1195,7 +1195,7 @@ onMounted(() => { font-size: 14px; line-height: 24px; color: #646a73; - max-width: 100%; + max-width: 88%; word-break: break-all; padding: 0 20px; } diff --git a/frontend/src/views/embedded/AssistantPreview.vue b/frontend/src/views/embedded/AssistantPreview.vue index ba3a8714..9a56e3be 100644 --- a/frontend/src/views/embedded/AssistantPreview.vue +++ b/frontend/src/views/embedded/AssistantPreview.vue @@ -120,6 +120,7 @@ const pageLogo = computed(() => { .ed-icon:not(.logo) { cursor: pointer; + color: #1f2329; &::after { content: ''; @@ -162,6 +163,9 @@ const pageLogo = computed(() => { font-size: 24px; line-height: 32px; margin: 16px 0; + max-width: 100%; + word-break: break-all; + padding: 0 20px; } .i-can { @@ -172,6 +176,9 @@ const pageLogo = computed(() => { font-size: 14px; line-height: 24px; color: #646a73; + max-width: 88%; + word-break: break-all; + padding: 0 20px; } } .content { diff --git a/frontend/src/views/embedded/index.vue b/frontend/src/views/embedded/index.vue index e62b3d97..66368629 100644 --- a/frontend/src/views/embedded/index.vue +++ b/frontend/src/views/embedded/index.vue @@ -239,6 +239,7 @@ onBeforeUnmount(() => { .ed-icon:not(.logo) { cursor: pointer; + color: #1F2329; &::after { content: ''; diff --git a/frontend/src/views/system/embedded/iframe.vue b/frontend/src/views/system/embedded/iframe.vue index 3adc30a5..464cd76c 100644 --- a/frontend/src/views/system/embedded/iframe.vue +++ b/frontend/src/views/system/embedded/iframe.vue @@ -90,7 +90,7 @@ const dsListOptions = ref([]) const embeddedListWithSearch = computed(() => { if (!keywords.value) return embeddedList.value - return embeddedList.value.filter((ele) => + return embeddedList.value.filter((ele: any) => ele.name.toLowerCase().includes(keywords.value.toLowerCase()) ) }) @@ -126,14 +126,11 @@ const handleAddEmbedded = (val: any) => { const wsChanged = (val: any) => { dsForm.public_list = [] dsForm.oid = val - getDsList(true) + getDsList() } -const getDsList = (change: boolean = false) => { +const getDsList = () => { dsApi(dsForm.oid).then((res: any) => { dsListOptions.value = res || [] - if (change || !currentEmbedded.id) { - dsForm.public_list = dsListOptions.value.map((ele: any) => ele.id) - } }) } const handleBaseEmbedded = (row: any) => { @@ -142,7 +139,7 @@ const handleBaseEmbedded = (row: any) => { if (row) { Object.assign(dsForm, JSON.parse(row.configuration)) } - getDsList(false) + getDsList() ruleConfigvVisible.value = true dialogTitle.value = row?.id ? t('embedded.edit_basic_applications') @@ -519,7 +516,7 @@ const saveHandler = () => { type: 'success', message: t('common.save_success'), }) - + urlFormRef.value.validate('certificate') certificateBeforeClose() } })