Commit dbe80392 by zhaochengxiang

更新时间

parent 5925faf0
...@@ -206,9 +206,12 @@ const LoadSelect = ({ value = '', onChange, ...restProps }) => { ...@@ -206,9 +206,12 @@ const LoadSelect = ({ value = '', onChange, ...restProps }) => {
value = value ? value: ''; value = value ? value: '';
let loadNames = []; let loadNames = [];
if (value !== '') {
value.split('/').forEach(item => { value.split('/').forEach(item => {
loadNames.push(item); loadNames.push(item);
}) })
}
return ( return (
<Select <Select
...@@ -246,9 +249,11 @@ const UpdateSelect = ({ value = '', onChange, ...restProps }) => { ...@@ -246,9 +249,11 @@ const UpdateSelect = ({ value = '', onChange, ...restProps }) => {
value = value ? value: ''; value = value ? value: '';
let updateNames = []; let updateNames = [];
if (value !== '') {
value.split('/').forEach(item => { value.split('/').forEach(item => {
updateNames.push(item); updateNames.push(item);
}) })
}
return ( return (
<Select <Select
......
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