Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yudao-admin-ui
Overview
Overview
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
licheng
yudao-admin-ui
Commits
9dfd6af0
Commit
9dfd6af0
authored
Jun 26, 2025
by
licheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 修复Descriptions组件的样式问题
parent
2bdb38d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Descriptions.vue
src/components/Descriptions/src/Descriptions.vue
+2
-4
No files found.
src/components/Descriptions/src/Descriptions.vue
View file @
9dfd6af0
...
...
@@ -78,7 +78,7 @@ const toggleClick = () => {
v-if=
"title"
:class=
"[
`$
{prefixCls}-header`,
'h-50px flex justify-between items-center b-b-1 border-solid border-[var(--el-border-color)] px-10px cursor-pointer dark:border-[var(--el-border-color)]'
'h-50px flex justify-between items-center b-
0 b-
b-1 border-solid border-[var(--el-border-color)] px-10px cursor-pointer dark:border-[var(--el-border-color)]'
]"
@click="toggleClick"
>
...
...
@@ -130,9 +130,7 @@ const toggleClick = () => {
<DictTag
:type=
"item.dictType"
:value=
"data[item.field] + ''"
/>
</slot>
<slot
v-else
:name=
"item.field"
:row=
"data"
>
{{
item
.
mappedField
?
data
[
item
.
mappedField
]
:
data
[
item
.
field
]
}}
{{
item
.
mappedField
?
data
[
item
.
mappedField
]
:
data
[
item
.
field
]
}}
</slot>
</
template
>
</ElDescriptionsItem>
...
...
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