mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
docs: update demo
This commit is contained in:
parent
fb3df9e9d0
commit
e1cd139e8b
@ -1,19 +0,0 @@
|
||||
<cn>
|
||||
#### 简洁卡片
|
||||
只包含内容区域
|
||||
</cn>
|
||||
|
||||
<us>
|
||||
#### Simple card
|
||||
A simple card only containing a content area.
|
||||
</us>
|
||||
|
||||
```html
|
||||
<template>
|
||||
<a-card style="width:300px">
|
||||
<p>Card content</p>
|
||||
<p>Card content</p>
|
||||
<p>Card content</p>
|
||||
</a-card>
|
||||
</template>
|
||||
```
|
@ -1,7 +1,6 @@
|
||||
<script>
|
||||
import Basic from './basic.md'
|
||||
import BorderLess from './border-less.md'
|
||||
import Concise from './concise.md'
|
||||
import FlexibleContent from './flexible-content.md'
|
||||
import GridCard from './grid-card.md'
|
||||
import InColumn from './in-column.md'
|
||||
@ -43,7 +42,6 @@ export default {
|
||||
<md cn={md.cn} us={md.us} />
|
||||
<Basic/>
|
||||
<BorderLess/>
|
||||
<Concise/>
|
||||
<FlexibleContent/>
|
||||
<GridCard/>
|
||||
<InColumn/>
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
<cn>
|
||||
#### 确认对话框
|
||||
#### 确认对话框(promise)
|
||||
使用 `confirm()` 可以快捷地弹出确认框。onCancel/onOk 返回 promise 可以延迟关闭
|
||||
</cn>
|
||||
|
||||
<us>
|
||||
#### Confirmation modal dialog
|
||||
#### Confirmation modal dialog use promise
|
||||
To use `confirm()` to popup confirmation modal dialog. Let onCancel/onOk function return a promise object to
|
||||
delay closing the dialog.
|
||||
</us>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<slot v-if="isZhCN" name="description"></slot>
|
||||
<slot v-else name="us-description"></slot>
|
||||
<span class="btn-toggle" :class="{open: isOpen}" @click="toggle">
|
||||
<a-icon type="down" />
|
||||
<a-icon type="up" />
|
||||
</span>
|
||||
</section>
|
||||
<transition appear :css="false" @enter="enter" @leave="leave">
|
||||
|
Loading…
Reference in New Issue
Block a user