Commit dbe80392 by zhaochengxiang

更新时间

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