Commit ceb174ac authored by 邓晓峰's avatar 邓晓峰

fix: logo load

parent 0ea62c0c
Pipeline #25661 passed with stages
in 43 minutes 39 seconds
/* eslint-disable */ /* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin; // const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const proxyURL = 'https://panda-water.cn'; const proxyURL = 'https://panda-water.com';
module.exports = { module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './', assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
dev: { dev: {
......
...@@ -74,7 +74,6 @@ const initLocale = () => { ...@@ -74,7 +74,6 @@ const initLocale = () => {
const initGlobalConfig = () => { const initGlobalConfig = () => {
// eslint-disable-next-line no-debugger // eslint-disable-next-line no-debugger
debugger
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
let config = createStoreage.get('globalConfig') || {}; let config = createStoreage.get('globalConfig') || {};
store.dispatch(actionCreators.updateComplexConfig({})); store.dispatch(actionCreators.updateComplexConfig({}));
......
...@@ -562,7 +562,8 @@ const BasicLayout = props => { ...@@ -562,7 +562,8 @@ const BasicLayout = props => {
}; };
const handleLogo = event => { const handleLogo = event => {
props.global.get('userInfo.site') ? history.push(`/industry`) : history.push('/openapi'); props.global.get('userInfo.site') ? history.push(`/industry`) : void 0;
//history.push('/openapi');
}; };
const transformPopupMenu = useCallback(key => { const transformPopupMenu = useCallback(key => {
......
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