update: 初始化:新疆大屏基础搭建
This commit is contained in:
@@ -35,7 +35,6 @@ export const Map = {
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
AMap = res;
|
AMap = res;
|
||||||
const { zoom, center, mapStyle } = { ...defaultOption, ...option };
|
const { zoom, center, mapStyle } = { ...defaultOption, ...option };
|
||||||
console.log(mapStyle, center, 'adjahdkjashkjd');
|
|
||||||
//基本地图加载
|
//基本地图加载
|
||||||
this.map = new AMap.Map(el, {
|
this.map = new AMap.Map(el, {
|
||||||
resizeEnable: true,
|
resizeEnable: true,
|
||||||
|
|||||||
@@ -25,14 +25,6 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
},
|
},
|
||||||
component: () => import('/@/views/indexSun.vue'),
|
component: () => import('/@/views/indexSun.vue'),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/home1',
|
|
||||||
name: 'index1',
|
|
||||||
meta: {
|
|
||||||
title: '副屏1',
|
|
||||||
},
|
|
||||||
component: () => import('/@/views/index.vue'),
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const router: Router = createRouter({
|
const router: Router = createRouter({
|
||||||
|
|||||||
Reference in New Issue
Block a user