提交 71b59a59 编写于 作者: bo.dang's avatar bo.dang

修改菜单显示问题

上级 267bcf9a
......@@ -206,14 +206,15 @@
this.isOutsideGetted = true;
if (res.code == '000000') {
if (res.data.code == "yes") { // 外部用户,siderbar只展示一个:学分发放管理页面
this.isOutsideUser = true;
// TODO this.isOutsideUser = true;
this.isOutsideUser = false;
this.$store.dispatch('cmeStore/updateOutUserStatus', true);
if (currentPath && currentPath == '/apply-detail') { // 申请明细页面 则刷新时不重定向
return;
}
this.$router.replace({
path: '/credit-send-manage'
});
//TODO this.$router.replace({
// path: '/credit-send-manage'
// });
} else { // 非外部用户 正常展示多路由
this.isOutsideUser = false;
this.$store.dispatch('cmeStore/updateOutUserStatus', false);
......@@ -507,7 +508,7 @@
icon: 'el-icon-setting',
index: 'circle-limit'
})
}
}
})
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册