Commit eb72ca21 by 姜雷

Merge branch 'develop' into 'test'

修改子系统判断 See merge request !65
parents 1f7efaa5 4d6429d1
......@@ -146,12 +146,13 @@ export default {
})
.then(userRoles => {
console.log('login done');
this.loading = false;
if (
userRoles.find(
item => item.menuCode === process.env.VUE_APP_DASHBOARD_CODE
) &&
process.env.VUE_APP_BASE_URL === '/'
this.$router.options.base === '/'
) {
this.$router.push({ path: '/' });
setTimeout(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment