mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 10:49:51 +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 { 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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user