From 3d63abcdbd807e4ea202d8a45174176c33018e0e Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 26 May 2023 17:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=BF=98=E5=8E=9F=E9=A1=B9=E7=9B=AE=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 3 ++- src/scripts/ProjectConfig.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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',