ant-design-vue/components/date-picker/demo/extra-footer.md

43 lines
915 B
Markdown
Raw Normal View History

2018-03-15 13:40:34 +00:00
2018-03-18 14:05:55 +00:00
<cn>
#### 额外的页脚
2018-03-15 13:40:34 +00:00
在浮层中加入额外的页脚,以满足某些定制信息的需求。
2018-03-18 14:05:55 +00:00
</cn>
2018-03-15 13:40:34 +00:00
2018-03-18 14:05:55 +00:00
<us>
#### Extra Footer
2018-03-15 13:40:34 +00:00
Render extra footer in panel for customized requirements.
2018-03-18 14:05:55 +00:00
</us>
2018-03-15 13:40:34 +00:00
2018-03-18 14:05:55 +00:00
```html
<template>
2018-03-15 13:40:34 +00:00
<div>
2018-03-18 14:05:55 +00:00
<a-date-picker>
<template slot="renderExtraFooter">
extra footer
</template>
</a-date-picker>
<a-date-picker showTime >
<template slot="renderExtraFooter">
extra footer
</template>
</a-date-picker>
<a-range-picker >
<template slot="renderExtraFooter">
extra footer
</template>
</a-range-picker>
<a-range-picker showTime >
<template slot="renderExtraFooter">
extra footer
</template>
</a-range-picker>
<a-month-picker placeholder="Select month" >
<template slot="renderExtraFooter">
extra footer
</template>
</a-month-picker>
2018-03-15 13:40:34 +00:00
</div>
2018-03-18 14:05:55 +00:00
</template>
```