Commit 2afb711b by 张杰

v1.5.0版本需求

1 parent a97c9aa3
...@@ -63,7 +63,8 @@ const qianKunStart = (config, baseURL) => { ...@@ -63,7 +63,8 @@ const qianKunStart = (config, baseURL) => {
setDefaultMountApp(defaultApp); setDefaultMountApp(defaultApp);
start({ singular: false }); //start({ singular: false });
start()
} }
......
...@@ -79,8 +79,8 @@ export const Common = { ...@@ -79,8 +79,8 @@ export const Common = {
} }
// 控制菜单展开 // 控制菜单展开
if (o && m) {
list.map(k => { list.map(k => {
console.log(k.label +'---'+ o.label)
if (k.label == o.label) { if (k.label == o.label) {
k.showSubList = true k.showSubList = true
} else { } else {
...@@ -94,9 +94,13 @@ export const Common = { ...@@ -94,9 +94,13 @@ export const Common = {
} }
}) })
}) })
}
store.dispatch("menu/setBreadCrumb", arr); store.dispatch("menu/setBreadCrumb", arr);
store.commit('menu/SET_MENU_LIST', list) store.commit('menu/SET_MENU_LIST', list)
} },
// 公共页面跳转方法
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!