Commit cf0f2547 by 冒粤蓉

fix bug

1 parent f9e22ed7
...@@ -275,7 +275,7 @@ export default { ...@@ -275,7 +275,7 @@ export default {
const getCurChildren = getBreadCrumb.children ? getBreadCrumb.children : firstChildren; const getCurChildren = getBreadCrumb.children ? getBreadCrumb.children : firstChildren;
let getCurParent = getBreadCrumb.parent ? getBreadCrumb.parent : firstParent, let getCurParent = getBreadCrumb.parent ? getBreadCrumb.parent : firstParent,
childrenMenuName = getCurChildren.menuName, childrenMenuName = getCurChildren.menuName,
childrenPath = getCurChildren.path || '', childrenPath = getCurChildren.path || getCurChildren.frontRoute || '',
getCurNextChildren = getCurChildren.children; getCurNextChildren = getCurChildren.children;
if(isInit) { if(isInit) {
state.curBreadCrumb.parent = { state.curBreadCrumb.parent = {
......
...@@ -139,7 +139,6 @@ export default { ...@@ -139,7 +139,6 @@ export default {
const { token, user } = res.data; const { token, user } = res.data;
store.dispatch('app/setUserInfo', user); store.dispatch('app/setUserInfo', user);
store.dispatch('app/setToken', token); store.dispatch('app/setToken', token);
window.location.reload();
} else { } else {
const { message } = res; const { message } = res;
state.alertArr.push(message); 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!