地图版本报错问题

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', // path: '/access',
// component: './Access', // component: './Access',
// }, // },
{ // {
name: 'CRUD 示例', // name: 'CRUD 示例',
path: '/table', // path: '/table',
component: './Table', // component: './Table',
}, // },
{ {
name: '登录', name: '登录',
path: '/login', path: '/login',
@ -53,11 +53,11 @@ export default defineConfig({
// 不展示在菜单栏里 // 不展示在菜单栏里
hideInMenu: true, hideInMenu: true,
}, },
{ // {
name: '关于我们', // name: '关于我们',
path: '/about', // path: '/about',
component: './About', // component: './About',
}, // },
// { // {
// name: ' 3D', // name: ' 3D',
// path: '/three', // path: '/three',
@ -75,7 +75,7 @@ export default defineConfig({
], ],
proxy: { proxy: {
'/api': { '/api': {
'target': 'http://localhost:8081',//101.42.40.202:8081 'target': 'http://101.42.40.202:8081',//
'changeOrigin': true, 'changeOrigin': true,
// 'pathRewrite': { '^/api' : '' }, // 'pathRewrite': { '^/api' : '' },
}, },

View File

@ -5,8 +5,7 @@ import LayerData from './LayerData';
import { AimOutlined } from '@ant-design/icons'; import { AimOutlined } from '@ant-design/icons';
import Guide from '../../components/Guide/index.ts' import Guide from '../../components/Guide/index.ts'
import { Scene, PointLayer } from '@antv/l7'; import { GaodeMap ,Scene, PointLayer } from '@antv/l7';
import { GaodeMap } from '@antv/l7-maps';
import styles from './index.less'; import styles from './index.less';