Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
ba950594
Commit
ba950594
authored
Nov 13, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
chore: 应用信息超出省略调整 See merge request
!77
parents
52d9e954
0e5c7b82
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
20 deletions
+9
-20
agent-associated-knowledge.vue
...nal-app-setting/components/agent-associated-knowledge.vue
+1
-1
associated-knowledge-modal.vue
...nal-app-setting/components/associated-knowledge-modal.vue
+1
-1
page-narbar.vue
...nal-space/personal-app-setting/components/page-narbar.vue
+7
-18
No files found.
src/views/personal-space/personal-app-setting/components/agent-associated-knowledge.vue
View file @
ba950594
...
...
@@ -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
()
...
...
src/views/personal-space/personal-app-setting/components/associated-knowledge-modal.vue
View file @
ba950594
...
...
@@ -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
,
...
...
src/views/personal-space/personal-app-setting/components/page-narbar.vue
View file @
ba950594
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment