feat: 添加字段浮窗定位优化 (#1034)
This commit is contained in:
parent
af3fbeb99b
commit
3e06e575f1
@ -143,7 +143,7 @@ export const AddCollectionField = (props) => {
|
||||
};
|
||||
|
||||
export const AddFieldAction = (props) => {
|
||||
const { scope, getContainer, item: record, children,trigger } = props;
|
||||
const { scope, getContainer, item: record, children,trigger ,align} = props;
|
||||
const { getInterface } = useCollectionManager();
|
||||
const [visible, setVisible] = useState(false);
|
||||
const [schema, setSchema] = useState({});
|
||||
@ -155,6 +155,7 @@ export const AddFieldAction = (props) => {
|
||||
<Dropdown
|
||||
getPopupContainer={getContainer}
|
||||
trigger={trigger}
|
||||
align={align}
|
||||
overlay={
|
||||
<Menu
|
||||
style={{
|
||||
|
Loading…
Reference in New Issue
Block a user