Commit eaa0a449 authored by 李纪文's avatar 李纪文

feat: 注释集成登录client

parent fe390090
Pipeline #90103 waiting for manual action with stages
......@@ -22,12 +22,13 @@ const IntegratedSwitch = props => {
const [client, setClient] = useState('');
useEffect(() => {
// if (!window?.globalConfig?.userInfo?.OID || (!(window?.globalConfig?.isIntegration > 1) && window?.globalConfig?.Industry !== '集成登录')) return setDataList([]);
if (!window?.globalConfig?.userInfo?.OID || !(window?.globalConfig?.isIntegration >= 1)) return setDataList([]);
appService.GetIntegrationConfig({
type: '集成登录',
userId: window?.globalConfig?.userInfo?.OID ?? null,
isEnable: true,
client: `${client || props.global.client || ''}`,
// client: `${client || props.global.client || ''}`,
})
.then(res => {
setDataList(res?.data || []);
......
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