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
2d5ea064
Commit
2d5ea064
authored
Sep 23, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 个人空间应用列表样式调整
parent
df71ac48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
columns.ts
src/views/personal-space/personal-app/columns.ts
+19
-5
No files found.
src/views/personal-space/personal-app/columns.ts
View file @
2d5ea064
import
{
NImage
,
N
Tooltip
}
from
'naive-ui'
import
{
NImage
,
N
Popover
}
from
'naive-ui'
import
{
h
}
from
'vue'
import
CustomIcon
from
'@/components/custom-icon/custom-icon.vue'
import
{
PersonalAppConfigState
}
from
'@/store/types/personal-app-config'
...
...
@@ -54,12 +54,26 @@ export function createPersonalAppColumn(handlePersonalAppTableAction: (actionTyp
{
default
:
()
=>
[
h
(
N
Tooltip
,
N
Popover
,
{
props
:
{
placement
:
'top'
},
style
:
{
maxWidth
:
'200px'
},
},
{
trigger
:
()
=>
h
(
'span'
,
{},
row
.
baseInfo
.
agentTitle
||
'--'
),
trigger
:
()
=>
h
(
'span'
,
{
style
:
{
whiteSpace
:
'nowrap'
,
overflow
:
'hidden'
,
textOverflow
:
'ellipsis'
,
width
:
'100%'
,
display
:
'block'
,
},
},
row
.
baseInfo
.
agentTitle
||
'--'
,
),
default
:
()
=>
h
(
'span'
,
{},
row
.
baseInfo
.
agentTitle
||
'--'
),
},
),
...
...
@@ -116,7 +130,7 @@ export function createPersonalAppColumn(handlePersonalAppTableAction: (actionTyp
{
default
:
()
=>
[
h
(
N
Tooltip
,
N
Popover
,
{
props
:
{
placement
:
'top'
},
},
...
...
@@ -242,7 +256,7 @@ export function createPersonalAppColumn(handlePersonalAppTableAction: (actionTyp
return
[
row
.
baseInfo
.
agentPublishStatus
===
'publish'
?
h
(
N
Tooltip
,
N
Popover
,
{
props
:
{
placement
:
'top'
},
},
...
...
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