feat: 将表单的布局模式,按钮设置的默认位置, 放置在右上角
This commit is contained in:
		
							parent
							
								
									b4aa7ddea7
								
							
						
					
					
						commit
						d355519550
					
				@ -45,23 +45,23 @@ export function createCreateFormBlockUISchema(options: CreateFormBlockUISchemaOp
 | 
			
		||||
        'x-component': 'FormV2',
 | 
			
		||||
        'x-use-component-props': 'useCreateFormBlockProps',
 | 
			
		||||
        properties: {
 | 
			
		||||
          grid: templateSchema || {
 | 
			
		||||
            type: 'void',
 | 
			
		||||
            'x-component': 'Grid',
 | 
			
		||||
            'x-initializer': 'form:configureFields',
 | 
			
		||||
            properties: {},
 | 
			
		||||
          },
 | 
			
		||||
          [uid()]: {
 | 
			
		||||
            type: 'void',
 | 
			
		||||
            'x-initializer': 'createForm:configureActions',
 | 
			
		||||
            'x-component': 'ActionBar',
 | 
			
		||||
            'x-component-props': {
 | 
			
		||||
              layout: 'one-column',
 | 
			
		||||
              // layout: 'one-column',
 | 
			
		||||
              style: {
 | 
			
		||||
                marginTop: 24,
 | 
			
		||||
                marginBottom: 24,
 | 
			
		||||
              },
 | 
			
		||||
            },
 | 
			
		||||
          },
 | 
			
		||||
          grid: templateSchema || {
 | 
			
		||||
            type: 'void',
 | 
			
		||||
            'x-component': 'Grid',
 | 
			
		||||
            'x-initializer': 'form:configureFields',
 | 
			
		||||
            properties: {},
 | 
			
		||||
          },
 | 
			
		||||
        },
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user