进入分类页的时候自动勾选左侧一级分类
This commit is contained in:
@@ -137,7 +137,7 @@
|
|||||||
const cateList = state.categoryList
|
const cateList = state.categoryList
|
||||||
for (let index = 0; index < cateList.length; index++) {
|
for (let index = 0; index < cateList.length; index++) {
|
||||||
if (cateList[index].id == params.id) {
|
if (cateList[index].id == params.id) {
|
||||||
state.activeMenu = index
|
onMenu(index);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user