doc: update grid demo

pull/5449/head
tangjinzhou 2022-04-06 16:00:01 +08:00
parent 4a4670bdce
commit 7c6dcba441
2 changed files with 4 additions and 10 deletions

View File

@ -238,14 +238,12 @@ exports[`renders ./components/grid/demo/playfround.vue correctly 1`] = `
<a-col :span="6"/>
<a-col :span="6"/>
<a-col :span="6"/>
</a-row>
</pre><pre>&lt;a-row :gutter="[16,16]"&gt;
&lt;/a-row&gt;</pre><br><pre>&lt;a-row :gutter="[16,16]"&gt;
&lt;a-col :span="6"/&gt;
&lt;a-col :span="6"/&gt;
&lt;a-col :span="6"/&gt;
&lt;a-col :span="6"/&gt;
&lt;/a-row&gt;
</pre>
&lt;/a-row&gt;</pre>
</div>
`;

View File

@ -67,13 +67,9 @@ A simple playground for column count and gutter.
<div>Column</div>
</a-col>
</a-row>
<pre
>{{ rowColHtml }}
</pre>
<pre>{{ rowColHtml }}</pre>
<br />
<pre
>{{ rowColHtml }}
</pre>
<pre>{{ rowColHtml }}</pre>
</div>
</template>
<script lang="ts">