From b695dc95e3fd129bdd5aee4cbdf9b77563f9fadb Mon Sep 17 00:00:00 2001 From: lyn <76365499@qq.com> Date: Sat, 11 Feb 2023 21:18:36 +0800 Subject: [PATCH] docs: typo (#6256) --- components/button/index.en-US.md | 2 +- components/button/index.zh-CN.md | 2 +- components/input/demo/textarea.vue | 2 +- components/select/index.en-US.md | 2 +- components/select/index.zh-CN.md | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/button/index.en-US.md b/components/button/index.en-US.md index 471cf6bed..0de3dc711 100644 --- a/components/button/index.en-US.md +++ b/components/button/index.en-US.md @@ -40,7 +40,7 @@ Different button styles can be generated by setting Button properties. The recom | htmlType | set the original html `type` of `button`, see: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button` | | | icon | set the icon of button, see: Icon component | v-slot | - | | | loading | set the loading status of button | boolean \| { delay: number } | `false` | | -| shape | Can be set button shape | `default` \| `circle` \| `round` | 'default' | | +| shape | Can be set button shape | `default` \| `circle` \| `round` | `default` | | | size | set the size of button | `large` \| `middle` \| `small` | `middle` | | | target | same as target attribute of a, works when href is specified | string | - | | | type | can be set button type | `primary` \| `ghost` \| `dashed` \| `link` \| `text` \| `default` | `default` | | diff --git a/components/button/index.zh-CN.md b/components/button/index.zh-CN.md index 6f7827b68..91425ae5d 100644 --- a/components/button/index.zh-CN.md +++ b/components/button/index.zh-CN.md @@ -43,7 +43,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/fNUKzY1sk/Button.svg | htmlType | 设置 `button` 原生的 `type` 值,可选值请参考 [HTML 标准](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button` | | | icon | 设置按钮的图标类型 | v-slot | - | | | loading | 设置按钮载入状态 | boolean \| { delay: number } | `false` | | -| shape | 设置按钮形状 | `default` \| `circle` \| `round` | 'default' | | +| shape | 设置按钮形状 | `default` \| `circle` \| `round` | `default` | | | size | 设置按钮大小 | `large` \| `middle` \| `small` | `middle` | | | target | 相当于 a 链接的 target 属性,href 存在时生效 | string | - | | | type | 设置按钮类型 | `primary` \| `ghost` \| `dashed` \| `link` \| `text` \| `default` | `default` | | diff --git a/components/input/demo/textarea.vue b/components/input/demo/textarea.vue index 391c0ef00..cdb315864 100644 --- a/components/input/demo/textarea.vue +++ b/components/input/demo/textarea.vue @@ -19,7 +19,7 @@ For multi-line input.

- +