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
05d8b13f
Commit
05d8b13f
authored
1 year ago
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重定向修改
parent
ed120fb2
master
devNew
soundai
No related merge requests found
Pipeline
#88012
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
index.js
src/layouts/TransitionPage/index.js
+0
-1
render.js
src/render.js
+4
-0
No files found.
src/layouts/TransitionPage/index.js
View file @
05d8b13f
...
@@ -138,7 +138,6 @@ const HomePage = props => {
...
@@ -138,7 +138,6 @@ const HomePage = props => {
const
mapStateToProps
=
state
=>
({
const
mapStateToProps
=
state
=>
({
global
:
state
.
getIn
([
'global'
,
'globalConfig'
]),
global
:
state
.
getIn
([
'global'
,
'globalConfig'
]),
instance
:
state
.
getIn
([
'global'
,
'instance'
]),
instance
:
state
.
getIn
([
'global'
,
'instance'
]),
currentSystemIndex
:
state
.
getIn
([
'global'
,
'currentSystemIndex'
]),
});
});
const
mapDispatchToProps
=
dispatch
=>
({
const
mapDispatchToProps
=
dispatch
=>
({
updateConfig
(
config
)
{
updateConfig
(
config
)
{
...
...
This diff is collapsed.
Click to expand it.
src/render.js
View file @
05d8b13f
...
@@ -204,6 +204,10 @@ export const AppInitState = () => {
...
@@ -204,6 +204,10 @@ export const AppInitState = () => {
window
.
history
.
pushState
(
''
,
''
,
`/?client=
${
client
}
`
);
window
.
history
.
pushState
(
''
,
''
,
`/?client=
${
client
}
`
);
defaultApp
();
defaultApp
();
});
});
action
.
events
.
on
(
'loginHomePage'
,
event
=>
{
window
.
history
.
pushState
(
''
,
''
,
`/?client=
${
client
}
`
);
defaultApp
();
});
}
}
return
window
.
globalConfig
.
variableTheme
;
return
window
.
globalConfig
.
variableTheme
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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