Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
digitalPerson-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
digitalPerson
digitalPerson-fe
Commits
daef5282
Commit
daef5282
authored
Oct 17, 2024
by
shirlyn.guo
🤡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加最近创作的空内容&账号显示完整名称
parent
b5ce1409
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
33 deletions
+44
-33
card-navigator.vue
src/views/workbench/components/card-navigator.vue
+8
-1
recent-creation.vue
src/views/workbench/components/recent-creation.vue
+36
-32
No files found.
src/views/workbench/components/card-navigator.vue
View file @
daef5282
...
...
@@ -130,7 +130,14 @@ async function handleCreateDigitalHumanVideo(digitalHumanVideoForm: DigitalHuman
"
/>
<div
class=
"ml-[10px] flex-1 truncate text-[18px]"
>
{{
userInfo
.
nickName
||
'-'
}}
</div>
<div
class=
"ml-[10px] flex-1 truncate text-[18px]"
>
<n-popover
trigger=
"hover"
>
<template
#
trigger
>
{{
userInfo
.
nickName
||
'-'
}}
</
template
>
<span>
{{ userInfo.nickName || '-' }}
</span>
</n-popover>
</div>
</div>
<div
class=
"flex items-center"
>
...
...
src/views/workbench/components/recent-creation.vue
View file @
daef5282
...
...
@@ -50,7 +50,6 @@ function getRecentCreationList() {
width
:
item
.
width
,
height
:
item
.
height
,
}))
fetchCreationTemplateInfoListLoading
.
value
=
false
})
}
...
...
@@ -95,6 +94,7 @@ function handleToCreation(draftId: number) {
<n-scrollbar
:x-scrollable=
"true"
>
<div
class=
"min-h-[194px]"
>
<template
v-if=
"!fetchCreationTemplateInfoListLoading"
>
<div>
<div
v-for=
"templateInfoItem in creationTemplateInfoList"
:key=
"templateInfoItem.id"
...
...
@@ -133,6 +133,10 @@ function handleToCreation(draftId: number) {
{{
templateInfoItem
.
draftName
}}
{{
formatDateTime
(
templateInfoItem
.
modifiedTime
)
}}
</n-ellipsis>
</div>
</div>
<div
v-show=
"!creationTemplateInfoList.length"
class=
"pt-[40px]"
>
<n-empty
description=
"暫無創作數據"
>
</n-empty>
</div>
</
template
>
<
template
v-else
>
...
...
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