fix(stage): import 了错误的log函数

This commit is contained in:
roymondchen 2022-04-07 19:11:18 +08:00 committed by jia000
parent 121498e81b
commit 038ef7cde4

View File

@ -20,8 +20,6 @@ import { EventEmitter } from 'events';
import { Id } from '@tmagic/schema';
import { log } from '@editor/utils/logger';
import { DEFAULT_ZOOM, GHOST_EL_ID_PREFIX } from './const';
import StageDragResize from './StageDragResize';
import StageHighlight from './StageHighlight';
@ -199,7 +197,6 @@ export default class StageCore extends EventEmitter {
try {
el = await this.getTargetElement(idOrEl);
} catch (error) {
log(error);
this.highlightLayer.clearHighlight();
return;
}