Merge branch 'master' of ssh://home.bobandjuly.cyou:5122/ewide/ewide_core

This commit is contained in:
2021-04-25 16:17:34 +08:00

View File

@@ -82,7 +82,7 @@ export default {
delete info.menus;
setGlobal(info);
data.apps.map((p) => (p.active = p.active === 'Y'));
data.apps.map((p) => (p.active = p.active));
this.onSetNav(data);
this.nav.loading = false;
@@ -260,7 +260,9 @@ export default {
return m;
};
this.nav.menus = children[0] ? serialize(children[0]) : new Array();
const rootId = '00000000-0000-0000-0000-000000000000';
this.nav.menus = children[rootId] ? serialize(children[rootId]) : new Array();
},
},
};