Commit cf0f2547 by 冒粤蓉

fix bug

1 parent f9e22ed7
......@@ -275,7 +275,7 @@ export default {
const getCurChildren = getBreadCrumb.children ? getBreadCrumb.children : firstChildren;
let getCurParent = getBreadCrumb.parent ? getBreadCrumb.parent : firstParent,
childrenMenuName = getCurChildren.menuName,
childrenPath = getCurChildren.path || '',
childrenPath = getCurChildren.path || getCurChildren.frontRoute || '',
getCurNextChildren = getCurChildren.children;
if(isInit) {
state.curBreadCrumb.parent = {
......
......@@ -139,7 +139,6 @@ export default {
const { token, user } = res.data;
store.dispatch('app/setUserInfo', user);
store.dispatch('app/setToken', token);
window.location.reload();
} else {
const { message } = res;
state.alertArr.push(message);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!