Commit 79d91fc0 authored by 邓晓峰's avatar 邓晓峰

fix: 过滤AMAP进行沙盒管理

parent 7157e6c6
Pipeline #37162 passed with stages
in 17 minutes 6 seconds
...@@ -9,18 +9,24 @@ export default { ...@@ -9,18 +9,24 @@ export default {
// container: '#micro-container', // container: '#micro-container',
// activeRule: '/civbase/civ_monitor', // activeRule: '/civbase/civ_monitor',
// }, // },
{ // {
name: 'civ_water', // name: 'civ_water',
entry: `//${window.location.hostname}:8081/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}:8082/civ_webgis`, entry: `//${window.location.hostname}:8082/civ_webgis`,
container: '#micro-container', container: '#micro-container',
activeRule: '/civbase/civ_webgis', activeRule: '/civbase/civ_webgis',
}, },
{
name: 'civ_energy',
entry: `//${window.location.hostname}:8081/civ_energy`,
container: '#micro-container',
activeRule: '/civbase/civ_energy',
},
{ {
name: 'civweb4', name: 'civweb4',
entry: `//${window.location.hostname}:3020/civweb4`, entry: `//${window.location.hostname}:3020/civweb4`,
......
/* 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.10.150:8669' const proxyURL = 'http://192.168.10.152:8062'
//'http://192.168.12.47:8081'; //'http://192.168.12.47:8081';
module.exports = { module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './', assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
......
...@@ -236,4 +236,4 @@ const mapDispatchToProps = dispatch => ({ ...@@ -236,4 +236,4 @@ const mapDispatchToProps = dispatch => ({
export default connect( export default connect(
mapStateToProps, mapStateToProps,
mapDispatchToProps, mapDispatchToProps,
)(withRouter(GlobalHeaderRight)); )(GlobalHeaderRight);
...@@ -127,11 +127,12 @@ export const initMicroApps = (loader, store) => { ...@@ -127,11 +127,12 @@ export const initMicroApps = (loader, store) => {
url.indexOf('framework/jquery/gridify.qrcode.js') !== -1 || url.indexOf('framework/jquery/gridify.qrcode.js') !== -1 ||
url.indexOf('framework/application/Platform.js') !== -1 || url.indexOf('framework/application/Platform.js') !== -1 ||
url.indexOf('echarts') !== -1 || url.indexOf('echarts') !== -1 ||
// url.indexOf('lbs.amap.com') !== -1 || url.indexOf('lbs.amap.com') !== -1 ||
// url.indexOf('restapi.amap.com') !== -1 || url.indexOf('restapi.amap.com') !== -1 ||
// url.indexOf('webapi.amap.com') !== -1 || url.indexOf('webapi.amap.com') !== -1 ||
// url.indexOf('webapi.amap.com/count') !== -1 || url.indexOf('webapi.amap.com/count') !== -1 ||
// url.indexOf('restapi.amap.com/v3') !== -1 || url.indexOf('https://webapi.amap.com/maps') !== -1 ||
url.indexOf('restapi.amap.com/v3') !== -1 ||
url.indexOf('api.map.baidu.com') !== -1 || url.indexOf('api.map.baidu.com') !== -1 ||
url.indexOf('map.baidu.com') !== -1 || url.indexOf('map.baidu.com') !== -1 ||
url.indexOf('pv.sohu.com') !== -1 || url.indexOf('pv.sohu.com') !== -1 ||
......
import LoadingComponent from '@ant-design/pro-layout/es/PageLoading'; import LoadingComponent from '@ant-design/pro-layout/es/PageLoading';
import { dynamic } from '@wisdom-utils/runtime'; import { dynamic } from '@wisdom-utils/runtime';
import BasicLayout from '../layouts/BasicLayout'; import BasicLayout from '../layouts/BasicLayout1';
import UserLayout from '../layouts/UserLayout'; import UserLayout from '../layouts/UserLayout';
import BootPage from '../pages/bootpage'; import BootPage from '../pages/bootpage';
import Login from '../pages/user/login'; import Login from '../pages/user/login';
......
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