mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 18:52:18 +08:00 
			
		
		
		
	fix(editor): 组件属性表单配置默认值
This commit is contained in:
		
							parent
							
								
									98bc4e2dbb
								
							
						
					
					
						commit
						5529bbc6e1
					
				@ -77,7 +77,7 @@ class Props extends BaseService {
 | 
			
		||||
      return await this.getPropsConfig('button');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return cloneDeep(this.state.propsConfigMap[type] || this.fillConfig([]));
 | 
			
		||||
    return cloneDeep(this.state.propsConfigMap[type] || (await this.fillConfig([])));
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public setPropsValues(values: Record<string, MNode>) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user