地图版本报错问题

This commit is contained in:
licuizhu 2023-10-16 20:52:36 +08:00
parent 50891ca298
commit dbb6be176d
2 changed files with 12 additions and 13 deletions

View File

@ -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' : '' },
},

View File

@ -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';