From 96887e0b2415136902a707cea16e432f8d00ff01 Mon Sep 17 00:00:00 2001 From: Mikasa33 Date: Wed, 2 Sep 2020 20:15:35 +0800 Subject: [PATCH] docs: fix theme in dialog (#7084) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README.md theme style,can be set to `round-button` * Update README.zh-CN.md theme style,can be set to `round-button` --- 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 1094e665d..51e9f9f37 100644 --- a/src/dialog/README.md +++ b/src/dialog/README.md @@ -169,7 +169,7 @@ export default { | width `v2.2.7` | Width | _number \| string_ | `320px` | | message | Message | _string_ | - | | message-align | Message align,can be set to `left` `right` | _string_ | `center` | -| theme `v2.10.0` | theme style,can be set to `round` | _string_ | `default` | +| theme `v2.10.0` | theme style,can be set to `round-button` | _string_ | `default` | | show-confirm-button | Whether to show confirm button | _boolean_ | `true` | | show-cancel-button | Whether to show cancel button | _boolean_ | `false` | | cancel-button-text | Cancel button text | _string_ | `Cancel` | diff --git a/src/dialog/README.zh-CN.md b/src/dialog/README.zh-CN.md index 07272b14a..743280b7a 100644 --- a/src/dialog/README.zh-CN.md +++ b/src/dialog/README.zh-CN.md @@ -201,7 +201,7 @@ export default { | width `v2.2.7` | 弹窗宽度,默认单位为`px` | _number \| string_ | `320px` | | message | 文本内容,支持通过`\n`换行 | _string_ | - | | message-align | 内容对齐方式,可选值为`left` `right` | _string_ | `center` | -| theme | 样式风格,可选值为`round` | _string_ | `default` | +| theme | 样式风格,可选值为`round-button` | _string_ | `default` | | show-confirm-button | 是否展示确认按钮 | _boolean_ | `true` | | show-cancel-button | 是否展示取消按钮 | _boolean_ | `false` | | confirm-button-text | 确认按钮文案 | _string_ | `确认` |