Commit 0e5c7b82 authored by nick zheng's avatar nick zheng

chore: 应用信息超出省略调整

parent af3bc72e
...@@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n' ...@@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n'
import { Plus, RightOne } from '@icon-park/vue-next' import { Plus, RightOne } from '@icon-park/vue-next'
import { fetchGetKnowledgeListByKdIds } from '@/apis/knowledge' import { fetchGetKnowledgeListByKdIds } from '@/apis/knowledge'
import AssociatedKnowledgeModal from './associated-knowledge-modal.vue' import AssociatedKnowledgeModal from './associated-knowledge-modal.vue'
import { KnowledgeItem } from '../../personal-knowledge/knowledge-type' import { KnowledgeItem } from '../../personal-knowledge/types'
const { t } = useI18n() const { t } = useI18n()
......
...@@ -6,7 +6,7 @@ import { Search } from '@icon-park/vue-next' ...@@ -6,7 +6,7 @@ import { Search } from '@icon-park/vue-next'
import { usePagination } from '@/composables/usePagination.ts' import { usePagination } from '@/composables/usePagination.ts'
import CustomModal from '@/components/custom-modal/custom-modal.vue' import CustomModal from '@/components/custom-modal/custom-modal.vue'
import { fetchCreateKnowledge, fetchGetKnowledgeList } from '@/apis/knowledge' import { fetchCreateKnowledge, fetchGetKnowledgeList } from '@/apis/knowledge'
import { KnowledgeDocumentItem, KnowledgeItem } from '@/views/personal-space/personal-knowledge/knowledge-type' import { KnowledgeDocumentItem, KnowledgeItem } from '@/views/personal-space/personal-knowledge/types'
import { formatDateTime } from '@/utils/date-formatter' import { formatDateTime } from '@/utils/date-formatter'
import CreateKnowledgeModal, { import CreateKnowledgeModal, {
KnowledgeFormDataInterface, KnowledgeFormDataInterface,
......
...@@ -169,32 +169,21 @@ async function handlePublishApplication() { ...@@ -169,32 +169,21 @@ async function handlePublishApplication() {
/> />
<div class="flex flex-col items-start justify-center"> <div class="flex flex-col items-start justify-center">
<NPopover trigger="hover"> <n-ellipsis class="max-w-[200px]! text-base text-[#000]" :tooltip="{ width: '240px' }">
<template #trigger> <span>
<span class="font-500 line-clamp-1 max-w-[200px] break-words text-base text-[#000]">
{{ personalAppConfigStore.baseInfo.agentTitle }} {{ personalAppConfigStore.baseInfo.agentTitle }}
</span> </span>
</template> </n-ellipsis>
<span>{{ personalAppConfigStore.baseInfo.agentTitle }}</span>
</NPopover>
<div class="flex items-center text-xs"> <div class="flex items-center text-xs">
<NPopover trigger="hover"> <n-ellipsis class="max-w-[200px]! text-[#84868c]" :tooltip="{ width: '240px' }">
<template #trigger>
<span class="line-clamp-1 max-w-[200px] break-words text-[#84868c]">
{{
personalAppConfigStore.baseInfo.agentDesc ||
t('personal_space_module.agent_module.agent_setting_module.missing_agent_desc_message')
}}
</span>
</template>
<span> <span>
{{ {{
personalAppConfigStore.baseInfo.agentDesc || personalAppConfigStore.baseInfo.agentDesc ||
t('personal_space_module.agent_module.agent_setting_module.missing_agent_desc_message') t('personal_space_module.agent_module.agent_setting_module.missing_agent_desc_message')
}} }}
</span> </span>
</NPopover> </n-ellipsis>
<div <div
v-show="personalAppConfigStore.baseInfo.agentId" v-show="personalAppConfigStore.baseInfo.agentId"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment