第三方登录还原项目判断
This commit is contained in:
parent
18b5780415
commit
3d63abcdbd
@ -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;
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user