diff --git a/docs/Examples/antd/Detail.md b/docs/Examples/antd/Detail.md
index 1ebced5fe60..6d881a235aa 100644
--- a/docs/Examples/antd/Detail.md
+++ b/docs/Examples/antd/Detail.md
@@ -66,6 +66,7 @@ const App = () => {
{ label: '选项4', value: '4' }
]}
required
+ x-props={{ style: { maxWidth: 300 } }}
title="Select单选"
name="select"
/>
@@ -82,7 +83,7 @@ const App = () => {
]}
required
title="Select多选"
- x-props={{ multiple: true }}
+ x-props={{ multiple: true, style: { maxWidth: 300 } }}
name="multiselect"
/>
@@ -122,6 +123,7 @@ ReactDOM.render(
type="string"
enum={['1', '2', '3', '4']}
required
+ x-props={{ style: { maxWidth: 300 } }}
title="Select"
name="select"
/>
diff --git a/docs/Examples/antd/Relations.md b/docs/Examples/antd/Relations.md
index 88e6dc9db38..0f23aab9e2e 100644
--- a/docs/Examples/antd/Relations.md
+++ b/docs/Examples/antd/Relations.md
@@ -170,7 +170,7 @@ const App = () => {
title="GG"
x-props={{ showSearch: true, filterLocal: false }}
/>
-
+
{state.visible && }
diff --git a/docs/Examples/antd/Sample.md b/docs/Examples/antd/Sample.md
index 28fad63cad0..f8dd3f8f1fd 100644
--- a/docs/Examples/antd/Sample.md
+++ b/docs/Examples/antd/Sample.md
@@ -54,6 +54,7 @@ ReactDOM.render(
required
title="Select"
name="select"
+ x-props={{ style: { maxWidth: 300 } }}
/>
{
@@ -41,7 +40,9 @@ const Text = styled(props => {
} else {
value = Array.isArray(props.value)
? props.value.join(' ~ ')
- : String(props.value === undefined || props.value === null ? '' : props.value)
+ : String(
+ props.value === undefined || props.value === null ? '' : props.value
+ )
}
return (