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-col :span="6"/>
<a-col :span="6"/> <a-col :span="6"/>
&lt;/a-row&gt; &lt;/a-row&gt;</pre><br><pre>&lt;a-row :gutter="[16,16]"&gt;
</pre><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-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; &lt;/a-row&gt;</pre>
</pre>
</div> </div>
`; `;

View File

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