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
b83b83b1
Commit
b83b83b1
authored
Nov 05, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ARCGIS chunks
parent
edcd87b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
micor.js
config/micor.js
+2
-2
proxy.js
config/proxy.js
+2
-1
BasicLayout1.js
src/layouts/BasicLayout1.js
+4
-4
No files found.
config/micor.js
View file @
b83b83b1
...
...
@@ -11,13 +11,13 @@ export default {
// },
{
name
:
'civ_water'
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
4
/civ_water`
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
1
/civ_water`
,
container
:
'#micro-container'
,
activeRule
:
'/civbase/civ_water'
,
},
{
name
:
'civ_webgis'
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
1
/civ_webgis`
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
2
/civ_webgis`
,
container
:
'#micro-container'
,
activeRule
:
'/civbase/civ_webgis'
,
},
...
...
config/proxy.js
View file @
b83b83b1
/* eslint-disable */
// 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
=
{
assetsRoot
:
process
.
env
.
NODE_ENV
!==
'production'
?
proxyURL
:
'./'
,
dev
:
{
...
...
src/layouts/BasicLayout1.js
View file @
b83b83b1
...
...
@@ -32,7 +32,7 @@ import { Router, Switch } from '@wisdom-utils/runtime';
import
RightContent
from
'@/components/GlobalHeader/ExtendRightContent'
;
import
Panel
from
'@/components/SliderPanel/MinPanel'
;
import
{
actionCreators
}
from
'@/containers/App/store'
;
import
CreateBaseMap
from
'@/pages/map'
;
//
import CreateBaseMap from '@/pages/map';
// import Authorized from '@/utils/Authorized';
import
{
findPathByLeafId
,
...
...
@@ -532,7 +532,7 @@ const BasicLayout = props => {
{
currentRoutes
&&
(
currentRoutes
.
routes
||
[]).
map
((
item
,
index
)
=>
{
return
(
<>
<
React
.
Fragment
key
=
{
index
}
>
<
li
key
=
{
index
}
className
=
{
classNames
(
layoutStyles
[
'menu-item'
],
{
[
layoutStyles
[
'active'
]]:
index
===
selectIndex
})}
onClick
=
{()
=>
handlerSecond
(
item
,
index
)}
>
<
Tooltip
placement
=
"right"
title
=
{
collapse
?
item
.
name
:
''
}
>
<
a
>
...
...
@@ -545,8 +545,8 @@ const BasicLayout = props => {
<
/a
>
<
/Tooltip
>
<
/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
>
)
})
}
...
...
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