From dbb6be176d68cea0026c59c02aaace063477ceb4 Mon Sep 17 00:00:00 2001 From: licuizhu <1065490369@qq.com> Date: Mon, 16 Oct 2023 20:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E7=89=88=E6=9C=AC=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 22 +++++++++++----------- src/pages/BaseMap/index.js | 3 +-- 2 files changed, 12 insertions(+), 13 deletions(-) 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';