diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 67b70a0d3..b44134285 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -111,6 +111,7 @@ import { mapGetters } from 'vuex'; import SystemTitle from './Title'; import {getSessionStorage } from '@/utils/auth'; +import { ThirdLoginList } from '@/scripts/ProjectConfig'; export default { components: { @@ -130,7 +131,7 @@ export default { 'routers' ]), thirdLogin() { - return this.$store.state.user.thirdLogin; + return ThirdLoginList.includes(getSessionStorage('project')); }, username() { return this.$store.state.user.nickname; diff --git a/src/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js index 9738d0792..4fe348304 100644 --- a/src/scripts/ProjectConfig.js +++ b/src/scripts/ProjectConfig.js @@ -891,7 +891,7 @@ // jjjlm: 'JJJLM' // }; // /** 嵌入第三方平台 导航栏右上角 清空 */ -// export const ThirdLoginList = ['richor', 'designrichor', 'richorygy', 'designrichorygy', 'richorcxjs', 'designrichorcxjs']; +export const ThirdLoginList = ['richor', 'designrichor', 'richorygy', 'designrichorygy', 'richorcxjs', 'designrichorcxjs', 'richorgscm']; // /** 底部栏仅展示公司信息不展示备案号 */ // export const BottomColumnOnlyConInfo = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', // 'designhls', 'hyd', 'designhyd', 'hydrailway', 'designhydrailway', 'cgy', 'designcgy', 'richor', 'richorlesson3d', 'richorjoint', 'designrichorjoint', 'nologo', 'designnologo', 'richorygy',