mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 13:08:48 +08:00
9be58078d2
* feat(demo): A-B * feat(demo): update B-checkbox * feat(demo): update CheckBox -DatePicker * feat(demo): update DatePicker - Form * feat(demo): update Form - List * feat(demo): update List-pagination * feat(demo): update List - skeleton * feat(demo): update skeleton - switch * feat(demo): update skeleton - switch * feat(demo): update switch - upload * feat(demo): update watermark * fix(demo): del hashId
31 lines
557 B
Vue
31 lines
557 B
Vue
<docs>
|
||
---
|
||
order: 19
|
||
version: 3.3.0
|
||
title:
|
||
zh-CN: 自定义状态
|
||
en-US: Status
|
||
---
|
||
|
||
## zh-CN
|
||
|
||
使用 `status` 为 DatePicker 添加状态,可选 `error` 或者 `warning`。
|
||
|
||
## en-US
|
||
|
||
Add status to DatePicker with `status`, which could be `error` or `warning`.
|
||
|
||
</docs>
|
||
|
||
<template>
|
||
<a-space direction="vertical" style="width: 100%">
|
||
<a-select status="error" style="width: 100%" />
|
||
<a-select status="warning" style="width: 100%" />
|
||
</a-space>
|
||
</template>
|
||
<style scoped>
|
||
#components-select-demo-status .ant-select {
|
||
margin: 0;
|
||
}
|
||
</style>
|