Commit 0daf77f2 authored by 涂茜's avatar 涂茜

fix: update ImageSelect and TimeRangePicker

parent e498b4d9
Pipeline #25419 passed with stages
in 4 minutes 11 seconds
......@@ -38,24 +38,30 @@
color: #222222;
font-weight: 500;
font-size: 16px;
white-space: nowrap;
}
&-search {
.ant-input-affix-wrapper {
width: 313px;
height: 29px;
background: #eef1f9;
background-color: #eef1f9;
border-radius: 15px;
.ant-input-prefix {
color: #5a6c8a;
}
input {
.ant-input {
background: #eef1f9;
}
}
.ant-input-affix-wrapper:hover {
background-color: #eef1f9;
}
&-folder {
margin-bottom: 20px;
border-top: 1px solid #ccd6e1;
}
......
......@@ -56,7 +56,12 @@ const TimeRangePicker = ({
const renderVertical = () => {
return !!dataSource.length ? (
<Select value defaultValue={defaultValue} style={{ width: width }} onChange={onSelectChange}>
<Select
value={value}
defaultValue={defaultValue}
style={{ width: width }}
onChange={onSelectChange}
>
{dataSource.map((item) => (
<Option key={item.key} value={item.key}>
{item.name}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment