Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
e39fa8cf
Commit
e39fa8cf
authored
Aug 25, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复订单列表表格内容过长导致宽度失效的问题
parent
d596732b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
index.jsx
...s/orderManage/queryOrder/components/CustomTable/index.jsx
+1
-1
index.less
.../orderManage/queryOrder/components/CustomTable/index.less
+3
-0
No files found.
src/pages/orderManage/queryOrder/components/CustomTable/index.jsx
View file @
e39fa8cf
...
@@ -62,7 +62,7 @@ const CustomTable = props => {
...
@@ -62,7 +62,7 @@ const CustomTable = props => {
};
};
return
(
return
(
<
td
rowSpan=
{
rowSpan
}
key=
{
key
}
align=
{
itemAlign
||
align
}
>
<
td
rowSpan=
{
rowSpan
}
key=
{
key
}
align=
{
itemAlign
||
align
}
>
{
render
?
render
(
renderParams
)
:
currentData
}
<
div
className=
{
style
[
'
td-box
'
]
}
>
{
render
?
render
(
renderParams
)
:
currentData
}
</
div
>
</
td
>
</
td
>
);
);
});
});
...
...
src/pages/orderManage/queryOrder/components/CustomTable/index.less
View file @
e39fa8cf
...
@@ -17,6 +17,9 @@
...
@@ -17,6 +17,9 @@
.custom-table-tbody {
.custom-table-tbody {
> tr > td {
> tr > td {
padding: 16px 16px;
padding: 16px 16px;
> .td-box {
word-break: break-all;
}
&.thead-render {
&.thead-render {
padding: 0;
padding: 0;
}
}
...
...
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