Commit ff3a4af3 authored by 杨思琦's avatar 杨思琦

fix: url修改

parent 9d774901
Pipeline #66346 passed with stages
...@@ -103,7 +103,7 @@ const GlobalHeaderRight = props => { ...@@ -103,7 +103,7 @@ const GlobalHeaderRight = props => {
const handleFeedback = event => { const handleFeedback = event => {
event.stopPropagation(); 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 => { const handlerFavitor = event => {
......
...@@ -42,7 +42,9 @@ const proxy = require('../../../../config/proxy'); ...@@ -42,7 +42,9 @@ const proxy = require('../../../../config/proxy');
const keywordStorage = new Storage(`__global_search_keywords__micro_${window.location.hostname}`); const keywordStorage = new Storage(`__global_search_keywords__micro_${window.location.hostname}`);
const recentVisitedStorage = new Storage(`__global_recent_visited__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 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'); Cookies.set('loginMode', Cookies.get('loginMode') || 'pdw');
export const initialState = fromJS({ export const initialState = fromJS({
globalConfig: {}, globalConfig: {},
......
...@@ -245,7 +245,9 @@ const transformFloatMenu = (routes, homepage) => { ...@@ -245,7 +245,9 @@ const transformFloatMenu = (routes, homepage) => {
}; };
const Layout = props => { 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 menuState = sessionStorage.getItem('menuState') || 'open';
const [cityData, setCityData] = useState({}); const [cityData, setCityData] = useState({});
const [siteLoading, setSiteLoading] = useState(false); const [siteLoading, setSiteLoading] = useState(false);
......
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