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

fix: ARCGIS chunks

parent edcd87b1
...@@ -11,13 +11,13 @@ export default { ...@@ -11,13 +11,13 @@ export default {
// }, // },
{ {
name: 'civ_water', name: 'civ_water',
entry: `//${window.location.hostname}:8084/civ_water`, entry: `//${window.location.hostname}:8081/civ_water`,
container: '#micro-container', container: '#micro-container',
activeRule: '/civbase/civ_water', activeRule: '/civbase/civ_water',
}, },
{ {
name: 'civ_webgis', name: 'civ_webgis',
entry: `//${window.location.hostname}:8081/civ_webgis`, entry: `//${window.location.hostname}:8082/civ_webgis`,
container: '#micro-container', container: '#micro-container',
activeRule: '/civbase/civ_webgis', activeRule: '/civbase/civ_webgis',
}, },
......
/* 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 = 'http://192.168.12.47:8081'; const proxyURL = 'http://192.168.10.150:8669'
//'http://192.168.12.47:8081';
module.exports = { module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './', assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
dev: { dev: {
......
...@@ -32,7 +32,7 @@ import { Router, Switch } from '@wisdom-utils/runtime'; ...@@ -32,7 +32,7 @@ import { Router, Switch } from '@wisdom-utils/runtime';
import RightContent from '@/components/GlobalHeader/ExtendRightContent'; import RightContent from '@/components/GlobalHeader/ExtendRightContent';
import Panel from '@/components/SliderPanel/MinPanel'; import Panel from '@/components/SliderPanel/MinPanel';
import { actionCreators } from '@/containers/App/store'; import { actionCreators } from '@/containers/App/store';
import CreateBaseMap from '@/pages/map'; // import CreateBaseMap from '@/pages/map';
// import Authorized from '@/utils/Authorized'; // import Authorized from '@/utils/Authorized';
import { import {
findPathByLeafId, findPathByLeafId,
...@@ -532,7 +532,7 @@ const BasicLayout = props => { ...@@ -532,7 +532,7 @@ const BasicLayout = props => {
{ {
currentRoutes && (currentRoutes.routes || []).map((item, index) => { currentRoutes && (currentRoutes.routes || []).map((item, index) => {
return ( return (
<> <React.Fragment key={index}>
<li key={index} className={classNames(layoutStyles['menu-item'], { [layoutStyles['active']]: index === selectIndex })} onClick={() => handlerSecond(item, index)}> <li key={index} className={classNames(layoutStyles['menu-item'], { [layoutStyles['active']]: index === selectIndex })} onClick={() => handlerSecond(item, index)}>
<Tooltip placement="right" title={collapse ? item.name: ''}> <Tooltip placement="right" title={collapse ? item.name: ''}>
<a> <a>
...@@ -545,8 +545,8 @@ const BasicLayout = props => { ...@@ -545,8 +545,8 @@ const BasicLayout = props => {
</a> </a>
</Tooltip> </Tooltip>
</li> </li>
<Divider style={{border: '1px solid rgb(49, 53, 62, 0.3)', margin: '0 auto', minWidth: '80%', width: '80%'}}/> <Divider style={{border: '1px solid rgb(49, 53, 62, 0.3)', margin: '0 auto', minWidth: '80%', width: '80%'}}/>
</> </React.Fragment>
) )
}) })
} }
......
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