From ce7ca6c939230ac3d7ae22a9d0b7fcf96b82caef Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Thu, 22 Mar 2018 18:29:53 +0800 Subject: [PATCH] =?UTF-8?q?fix=20popconfirm=20=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/popconfirm/index.en-US.md | 4 ++-- components/popconfirm/index.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index 38de143fc..66115882b 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -2,8 +2,8 @@ | Param | Description | Type | Default value | | ----- | ----------- | ---- | ------------- | -| cancelText | text of the Cancel button | string | `Cancel` | -| okText | text of the Confirm button | string | `Confirm` | +| cancelText | text of the Cancel button | string\|slot | `Cancel` | +| okText | text of the Confirm button | string\|slot | `Confirm` | | okType | Button `type` of the Confirm button | string | `primary` | | title | title of the confirmation box | string\|slot | - | diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index 823cba49e..c8a536e1a 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -2,8 +2,8 @@ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| cancelText | 取消按钮文字 | string | 取消 | -| okText | 确认按钮文字 | string | 确定 | +| cancelText | 取消按钮文字 | string\|slot | 取消 | +| okText | 确认按钮文字 | string\|slot | 确定 | | okType | 确认按钮类型 | string | primary | | title | 确认框的描述 | string\|slot | 无 |