|
|
@@ -134,7 +134,7 @@ const Advanced = (props) => { |
|
|
|
tabActiveKey: props.location.query.tabStatus ? props.location.query.tabStatus : 'basis', |
|
|
|
}); |
|
|
|
useEffect(() => { |
|
|
|
if(!props.location.query.values.id){ |
|
|
|
if(!props.location?.query?.values?.id){ |
|
|
|
history.push({ |
|
|
|
pathname: '/database/goods/newgoods', |
|
|
|
}); |
|
|
|