diff --git a/.umirc.ts b/.umirc.ts index 2bb54dcc..033e5602 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -30,11 +30,11 @@ export default defineConfig({ // path: '/access', // component: './Access', // }, - { - name: 'CRUD 示例', - path: '/table', - component: './Table', - }, + // { + // name: 'CRUD 示例', + // path: '/table', + // component: './Table', + // }, { name: '登录', path: '/login', @@ -53,11 +53,11 @@ export default defineConfig({ // 不展示在菜单栏里 hideInMenu: true, }, - { - name: '关于我们', - path: '/about', - component: './About', - }, + // { + // name: '关于我们', + // path: '/about', + // component: './About', + // }, // { // name: ' 3D', // path: '/three', @@ -75,7 +75,7 @@ export default defineConfig({ ], proxy: { '/api': { - 'target': 'http://localhost:8081',//101.42.40.202:8081 + 'target': 'http://101.42.40.202:8081',// 'changeOrigin': true, // 'pathRewrite': { '^/api' : '' }, }, diff --git a/src/pages/BaseMap/index.js b/src/pages/BaseMap/index.js index dbd7ed69..faf297b7 100644 --- a/src/pages/BaseMap/index.js +++ b/src/pages/BaseMap/index.js @@ -5,8 +5,7 @@ import LayerData from './LayerData'; import { AimOutlined } from '@ant-design/icons'; import Guide from '../../components/Guide/index.ts' -import { Scene, PointLayer } from '@antv/l7'; -import { GaodeMap } from '@antv/l7-maps'; +import { GaodeMap ,Scene, PointLayer } from '@antv/l7'; import styles from './index.less';