解决【key批次】新增key批次,路由会跳到兑换码管理上

This commit is contained in:
Apple 2022-06-17 16:08:46 +08:00
parent b5ac3c6d75
commit 9c55a9da0f
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ export default class App extends Component {
item = activeMenuList.filter((item) => item.id == 16); item = activeMenuList.filter((item) => item.id == 16);
this.setState({ setrender: 3 }); this.setState({ setrender: 3 });
} }
if (pathnameNow.includes("exchangecode")) { if (pathnameNow.includes("exchangecode")&&!pathnameNow.includes("exchangecode-add")) {
item = activeMenuList.filter((item) => item.id == 17); item = activeMenuList.filter((item) => item.id == 17);
this.setState({ setrender: 4 }); this.setState({ setrender: 4 });
} }