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
3 years ago
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ARCGIS chunks
parent
edcd87b1
master
dev
devNew
feat/layout-flat
patch-1
soundai
test
zhongyi
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
micor.js
config/micor.js
+2
-2
proxy.js
config/proxy.js
+2
-1
BasicLayout1.js
src/layouts/BasicLayout1.js
+3
-3
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'
,
},
...
...
This diff is collapsed.
Click to expand it.
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
:
{
...
...
This diff is collapsed.
Click to expand it.
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
>
...
...
@@ -546,7 +546,7 @@ const BasicLayout = props => {
<
/Tooltip
>
<
/li
>
<
Divider
style
=
{{
border
:
'1px solid rgb(49, 53, 62, 0.3)'
,
margin
:
'0 auto'
,
minWidth
:
'80%'
,
width
:
'80%'
}}
/
>
<
/
>
<
/
React.Fragment
>
)
})
}
...
...
This diff is collapsed.
Click to expand it.
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