Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
84938fcb
Commit
84938fcb
authored
Sep 19, 2024
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改集成登录通用功能 反回的bug
parent
6d9b183a
Pipeline
#92735
passed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
index.js
src/pages/bootpage/template/integration/index.js
+14
-1
No files found.
src/pages/bootpage/template/integration/index.js
View file @
84938fcb
...
...
@@ -18,6 +18,8 @@ import imgLogo from '@/assets/bootPage/熊猫图标.png';
import
styles
from
'./index.less'
;
const
Integration
=
props
=>
{
const
dataRef
=
useRef
();
let
integrationClient
=
window
?.
globalConfig
?.
client
||
'city'
;
// 集成登录client
const
[
percentBottom
,
setPercentBottom
]
=
useState
(
-
40
);
const
[
currentType
,
setCurrentType
]
=
useState
(
''
);
const
[
scale
,
setScale
]
=
useState
(
1
);
...
...
@@ -130,7 +132,7 @@ const Integration = props => {
const handleToggleIndustry = event => {
setPercentBottom(38);
clearInterval(process.current);
props.history.push(`
/
?
client
=
$
{
client
||
props
.
global
.
c
lient
}
`);
props.history.push(`
/
?
client
=
$
{
integrationC
lient
}
`);
props.updateCurrentIndex(0);
...
...
@@ -169,6 +171,17 @@ const Integration = props => {
.catch(err => {
notification.error({ message: '提示', duration: 3, description: '集成站点配置错误' });
});
appService
.GetIntegratedloginSetting({
ignoreSite: true,
})
.then(res => {
const { code, data } = res;
if (data.client) {
integrationClient = data.client;
localStorage.setItem('integrationClient', data.client);
}
});
}, []);
return (
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment