mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-18 19:40:03 +08:00
fix(stage): import 了错误的log函数
This commit is contained in:
parent
121498e81b
commit
038ef7cde4
@ -20,8 +20,6 @@ import { EventEmitter } from 'events';
|
|||||||
|
|
||||||
import { Id } from '@tmagic/schema';
|
import { Id } from '@tmagic/schema';
|
||||||
|
|
||||||
import { log } from '@editor/utils/logger';
|
|
||||||
|
|
||||||
import { DEFAULT_ZOOM, GHOST_EL_ID_PREFIX } from './const';
|
import { DEFAULT_ZOOM, GHOST_EL_ID_PREFIX } from './const';
|
||||||
import StageDragResize from './StageDragResize';
|
import StageDragResize from './StageDragResize';
|
||||||
import StageHighlight from './StageHighlight';
|
import StageHighlight from './StageHighlight';
|
||||||
@ -199,7 +197,6 @@ export default class StageCore extends EventEmitter {
|
|||||||
try {
|
try {
|
||||||
el = await this.getTargetElement(idOrEl);
|
el = await this.getTargetElement(idOrEl);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
log(error);
|
|
||||||
this.highlightLayer.clearHighlight();
|
this.highlightLayer.clearHighlight();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user