diff --git a/packages/core/src/services/scene/SceneService.ts b/packages/core/src/services/scene/SceneService.ts index 402d25fb70..0af83c35f8 100644 --- a/packages/core/src/services/scene/SceneService.ts +++ b/packages/core/src/services/scene/SceneService.ts @@ -215,7 +215,6 @@ export default class Scene extends EventEmitter implements ISceneService { .matchMedia('screen and (-webkit-min-device-pixel-ratio: 1.5)') .addListener(this.handleWindowResized); } else { - console.error('容器 id 不存在'); } this.pickingService.init(this.id); diff --git a/packages/maps/src/mapbox/map.ts b/packages/maps/src/mapbox/map.ts index 84dfc1ba88..3073ac8c35 100644 --- a/packages/maps/src/mapbox/map.ts +++ b/packages/maps/src/mapbox/map.ts @@ -315,7 +315,6 @@ export default class MapboxService !window.mapboxgl.accessToken && !mapInstance // 如果用户传递了 mapInstance,应该不去干预实例的 accessToken。 ) { - console.warn(this.configService.getSceneWarninfo('MapToken')); }