Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
aab13fe7
Commit
aab13fe7
authored
2 years ago
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改月份下拉适配
parent
d8a0f2d2
Pipeline
#65698
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
holidays.jsx
src/pages/bsmanager/workOrder/holidays/holidays.jsx
+16
-1
No files found.
src/pages/bsmanager/workOrder/holidays/holidays.jsx
View file @
aab13fe7
...
...
@@ -323,7 +323,14 @@ const Holidays = () => {
dropdownMatchSelectWidth=
{
false
}
className=
"my-year-select"
value=
{
year
}
defaultOpen
onDropdownVisibleChange=
{
()
=>
{
setTimeout
(()
=>
{
console
.
log
(
document
.
querySelectorAll
(
'.ant-select-dropdown'
));
document
.
querySelectorAll
(
'.ant-select-dropdown'
).
forEach
(
ele
=>
{
ele
.
style
.
zoom
=
size
.
width
/
1920
;
});
},
0
);
}
}
onChange=
{
newYear
=>
{
console
.
log
(
newYear
);
const
now
=
value
.
clone
().
year
(
newYear
);
...
...
@@ -357,6 +364,14 @@ const Holidays = () => {
<
Select
style=
{
{
margin
:
'0 5px'
,
width
:
'80px'
}
}
dropdownMatchSelectWidth=
{
false
}
onDropdownVisibleChange=
{
()
=>
{
setTimeout
(()
=>
{
console
.
log
(
document
.
querySelectorAll
(
'.ant-select-dropdown'
));
document
.
querySelectorAll
(
'.ant-select-dropdown'
).
forEach
(
ele
=>
{
ele
.
style
.
zoom
=
size
.
width
/
1920
;
});
},
0
);
}
}
value=
{
month
}
onChange=
{
newMonth
=>
{
console
.
log
(
newMonth
);
...
...
This diff is collapsed.
Click to expand it.
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