diff --git a/packages/client/src/schema-component/antd/menu/Menu.tsx b/packages/client/src/schema-component/antd/menu/Menu.tsx index 36e92e97b..58218d166 100644 --- a/packages/client/src/schema-component/antd/menu/Menu.tsx +++ b/packages/client/src/schema-component/antd/menu/Menu.tsx @@ -5,7 +5,7 @@ import { Schema, SchemaExpressionScopeContext, useField, - useFieldSchema, + useFieldSchema } from '@formily/react'; import { Menu as AntdMenu } from 'antd'; import React, { createContext, useContext, useEffect, useState } from 'react'; @@ -203,7 +203,7 @@ export const Menu: ComposedMenu = observer((props) => { { right: 6px !important; } > span.anticon { - margin-right: 15px !important; + margin-right: 10px; } } } @@ -328,7 +328,7 @@ Menu.Item = observer((props) => { return ( - + { }} > - + {field.title} @@ -386,7 +386,7 @@ Menu.SubMenu = observer((props) => { eventKey={schema.name} title={ - + {field.title}