Browse Source

商品页面跳转

master
zhaoy 11 months ago
parent
commit
9803e4d3da
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/pages/database/goods/goodsInfo/index.jsx

+ 6
- 6
src/pages/database/goods/goodsInfo/index.jsx View File

@@ -134,17 +134,17 @@ const Advanced = (props) => {
tabActiveKey: props.location.query.tabStatus ? props.location.query.tabStatus : 'basis',
});
useEffect(() => {
if(!props.location?.query?.isAdd){
history.push({
pathname: '/database/goods/newgoods',
});
}else{
// if(!props.location?.query?.values){
// history.push({
// pathname: '/database/goods/newgoods',
// });
// }else{
SetCurrTabKey(tabStatus.tabActiveKey);
initGoodsUnit();
initGoodsType();
initGetbomType();
intBatching();
}
//}
}, [tabStatus])
const onTabChange = (key) => {


Loading…
Cancel
Save