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
ff3a4af3
Commit
ff3a4af3
authored
2 years ago
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: url修改
parent
9d774901
master
dev
devNew
soundai
test
zhongyi
No related merge requests found
Pipeline
#66346
passed with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
SimpleRiightContent.js
src/components/GlobalHeader/SimpleRiightContent.js
+1
-1
reducer.js
src/containers/App/store/reducer.js
+3
-1
BasicLayout.js
src/layouts/BasicLayout.js
+3
-1
No files found.
src/components/GlobalHeader/SimpleRiightContent.js
View file @
ff3a4af3
...
...
@@ -103,7 +103,7 @@ const GlobalHeaderRight = props => {
const
handleFeedback
=
event
=>
{
event
.
stopPropagation
();
window
.
open
(
`https://work.panda-water.cn/feedback
-master
/?site_code=
${
props
.
global
.
get
(
'userInfo.site'
)}
`
);
window
.
open
(
`https://work.panda-water.cn/feedback/?site_code=
${
props
.
global
.
get
(
'userInfo.site'
)}
`
);
}
const
handlerFavitor
=
event
=>
{
...
...
This diff is collapsed.
Click to expand it.
src/containers/App/store/reducer.js
View file @
ff3a4af3
...
...
@@ -42,7 +42,9 @@ const proxy = require('../../../../config/proxy');
const
keywordStorage
=
new
Storage
(
`__global_search_keywords__micro_
${
window
.
location
.
hostname
}
`
);
const
recentVisitedStorage
=
new
Storage
(
`__global_recent_visited__micro_
${
window
.
location
.
hostname
}
`
);
const
recentProductStorage
=
new
Storage
(
`__global__recent_product__micro_
${
window
.
location
.
hostname
}
`
);
const
currentProduct
=
new
Store
(
`__global__recent_productIndex__micro_
${
window
.
location
.
hostname
}
`
);
const
currentProduct
=
new
Store
(
`__global__recent_productIndex__micro_
${
window
.
location
.
hostname
}
_
${
sessionStorage
.
getItem
(
'client'
)
||
'city'
}
`
,
);
Cookies
.
set
(
'loginMode'
,
Cookies
.
get
(
'loginMode'
)
||
'pdw'
);
export
const
initialState
=
fromJS
({
globalConfig
:
{},
...
...
This diff is collapsed.
Click to expand it.
src/layouts/BasicLayout.js
View file @
ff3a4af3
...
...
@@ -245,7 +245,9 @@ const transformFloatMenu = (routes, homepage) => {
};
const
Layout
=
props
=>
{
const
currentProduct
=
new
Store
(
`__global__recent_productIndex__micro_
${
window
.
location
.
hostname
}
`
);
const
currentProduct
=
new
Store
(
`__global__recent_productIndex__micro_
${
window
.
location
.
hostname
}
_
${
sessionStorage
.
getItem
(
'client'
)
||
'city'
}
`
,
);
const
menuState
=
sessionStorage
.
getItem
(
'menuState'
)
||
'open'
;
const
[
cityData
,
setCityData
]
=
useState
({});
const
[
siteLoading
,
setSiteLoading
]
=
useState
(
false
);
...
...
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