Commit ba950594 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

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

See merge request !77
parents 52d9e954 0e5c7b82
......@@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n'
import { Plus, RightOne } from '@icon-park/vue-next'
import { fetchGetKnowledgeListByKdIds } from '@/apis/knowledge'
import AssociatedKnowledgeModal from './associated-knowledge-modal.vue'
import { KnowledgeItem } from '../../personal-knowledge/knowledge-type'
import { KnowledgeItem } from '../../personal-knowledge/types'
const { t } = useI18n()
......
......@@ -6,7 +6,7 @@ import { Search } from '@icon-park/vue-next'
import { usePagination } from '@/composables/usePagination.ts'
import CustomModal from '@/components/custom-modal/custom-modal.vue'
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 CreateKnowledgeModal, {
KnowledgeFormDataInterface,
......
......@@ -169,32 +169,21 @@ async function handlePublishApplication() {
/>
<div class="flex flex-col items-start justify-center">
<NPopover trigger="hover">
<template #trigger>
<span class="font-500 line-clamp-1 max-w-[200px] break-words text-base text-[#000]">
{{ personalAppConfigStore.baseInfo.agentTitle }}
</span>
</template>
<span>{{ personalAppConfigStore.baseInfo.agentTitle }}</span>
</NPopover>
<n-ellipsis class="max-w-[200px]! text-base text-[#000]" :tooltip="{ width: '240px' }">
<span>
{{ personalAppConfigStore.baseInfo.agentTitle }}
</span>
</n-ellipsis>
<div class="flex items-center text-xs">
<NPopover trigger="hover">
<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>
<n-ellipsis class="max-w-[200px]! text-[#84868c]" :tooltip="{ width: '240px' }">
<span>
{{
personalAppConfigStore.baseInfo.agentDesc ||
t('personal_space_module.agent_module.agent_setting_module.missing_agent_desc_message')
}}
</span>
</NPopover>
</n-ellipsis>
<div
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