fix: 修改级联组件适配
This commit is contained in:
		
							parent
							
								
									dcf3cf63e3
								
							
						
					
					
						commit
						7df5c093b0
					
				@ -116,7 +116,6 @@ const titleField: any = {
 | 
				
			|||||||
        dn.emit('patch', {
 | 
					        dn.emit('patch', {
 | 
				
			||||||
          schema,
 | 
					          schema,
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					 | 
				
			||||||
        dn.refresh();
 | 
					        dn.refresh();
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
				
			|||||||
@ -40,6 +40,7 @@ const ObjectSelect = (props: Props) => {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    return currentOptions.shift();
 | 
					    return currentOptions.shift();
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return (
 | 
					  return (
 | 
				
			||||||
    <AntdSelect
 | 
					    <AntdSelect
 | 
				
			||||||
      // @ts-ignore
 | 
					      // @ts-ignore
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
import { Field } from '@formily/core';
 | 
					import { Field } from '@formily/core';
 | 
				
			||||||
import { connect, mapReadPretty, observer, useField, useFieldSchema, useForm } from '@formily/react';
 | 
					import { connect, mapReadPretty, observer, useField, useForm } from '@formily/react';
 | 
				
			||||||
import React from 'react';
 | 
					import React from 'react';
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  SchemaComponentOptions,
 | 
					  SchemaComponentOptions,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user