Commit 9172ed9a authored by renjintao's avatar renjintao

product

parent 237b0050
......@@ -312,7 +312,11 @@ export default {
});
},
goPage(u, li) {
if (li.target == 1) {
window.open(li.path, "_blank");
} else {
this.$router.push(li.path);
}
this.isActive = li.id;
this.homeMenu = u.title;
this.homeMenuItem = li.title;
......
......@@ -97,7 +97,7 @@ export default {
datas.path = datas.url;
let name = datas.url.replace(/\//g, "-");
datas.header = "home";
delete datas.target;
// delete datas.target;
if (name.substr(0, 1) == "-") {
name = name.substr(1);
}
......
......@@ -20,6 +20,7 @@ function filterMenu (menuList, access, lastList) {
menu.children && filterMenu(menu.children, access, newMenu.children);
}
});
return lastList;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment