mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 10:49:51 +08:00 
			
		
		
		
	feat(editor): 组件高级配置中添加display
This commit is contained in:
		
							parent
							
								
									054d12601b
								
							
						
					
					
						commit
						e0d5efb022
					
				@ -128,12 +128,21 @@ export const advancedTabConfig: TabPaneConfig = {
 | 
			
		||||
      text: 'created',
 | 
			
		||||
      labelPosition: 'top',
 | 
			
		||||
      type: 'code-select',
 | 
			
		||||
      extra: '组件初始化时执行',
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      name: 'mounted',
 | 
			
		||||
      text: 'mounted',
 | 
			
		||||
      labelPosition: 'top',
 | 
			
		||||
      type: 'code-select',
 | 
			
		||||
      extra: '组件挂载到dom时执行',
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      name: 'display',
 | 
			
		||||
      text: 'display',
 | 
			
		||||
      extra: '控制组件是否渲染,关系的代码块返回值为false时不渲染',
 | 
			
		||||
      labelPosition: 'top',
 | 
			
		||||
      type: 'code-select',
 | 
			
		||||
    },
 | 
			
		||||
  ],
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user