解决优惠券导航选中,路由与一级菜单高亮不匹配
This commit is contained in:
parent
fb97d83dcb
commit
17c2a620bd
|
@ -172,6 +172,10 @@ export default class App extends Component {
|
|||
item = activeMenuList?.filter((item) => item.id == 19)
|
||||
this.setState({ setrender: 6 })
|
||||
}
|
||||
if (pathnameNow.includes('coupon-list')) {
|
||||
item = activeMenuList?.filter((item) => item.id == 195)
|
||||
this.setState({ setrender: 7 })
|
||||
}
|
||||
if (item) {
|
||||
try {
|
||||
item[0]?.children?.forEach((it) => {
|
||||
|
|
Loading…
Reference in New Issue