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

fix: logo load

parent 0ea62c0c
Pipeline #25661 passed with stages
in 43 minutes 39 seconds
/* eslint-disable */
// 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 = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
dev: {
......
......@@ -74,7 +74,6 @@ const initLocale = () => {
const initGlobalConfig = () => {
// eslint-disable-next-line no-debugger
debugger
// eslint-disable-next-line no-undef
let config = createStoreage.get('globalConfig') || {};
store.dispatch(actionCreators.updateComplexConfig({}));
......
......@@ -562,7 +562,8 @@ const BasicLayout = props => {
};
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 => {
......
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