From 9c3dbfc0b6c0ad205e359e3c40c5c44caa0b4a58 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 9 Feb 2021 20:57:39 +0800 Subject: [PATCH] docs(Dialog): fix theme optional value (#8113) --- src/dialog/README.md | 2 +- src/dialog/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialog/README.md b/src/dialog/README.md index ad7e500fe..777b02118 100644 --- a/src/dialog/README.md +++ b/src/dialog/README.md @@ -142,7 +142,7 @@ export default { | width | Dialog width | _number \| string_ | `320px` | | message | Message | _string_ | - | | messageAlign | Message text align,can be set to `left` `right` | _string_ | `center` | -| theme | theme style,can be set to `round` | _string_ | `default` | +| theme | theme style,can be set to `round-button` | _string_ | `default` | | className | Custom className | _string \| Array \| object_ | - | | showConfirmButton | Whether to show confirm button | _boolean_ | `true` | | showCancelButton | Whether to show cancel button | _boolean_ | `false` | diff --git a/src/dialog/README.zh-CN.md b/src/dialog/README.zh-CN.md index ea3d065e4..3f738e472 100644 --- a/src/dialog/README.zh-CN.md +++ b/src/dialog/README.zh-CN.md @@ -177,7 +177,7 @@ export default { | width | 弹窗宽度,默认单位为`px` | _number \| string_ | `320px` | | message | 文本内容,支持通过`\n`换行 | _string_ | - | | messageAlign | 内容对齐方式,可选值为`left` `right` | _string_ | `center` | -| theme | 样式风格,可选值为`round` | _string_ | `default` | +| theme | 样式风格,可选值为 `round-button` | _string_ | `default` | | className | 自定义类名 | _string \| Array \| object_ | - | | showConfirmButton | 是否展示确认按钮 | _boolean_ | `true` | | showCancelButton | 是否展示取消按钮 | _boolean_ | `false` |