From 66891a7cc005d1dbde4658a8b92dce625e8621db Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 7 Oct 2016 18:00:48 +0800 Subject: [PATCH] update demo text --- components/modal/demo/confirm-promise.md | 4 ++-- components/modal/demo/confirm.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/modal/demo/confirm-promise.md b/components/modal/demo/confirm-promise.md index 78de048eca..e923790af7 100644 --- a/components/modal/demo/confirm-promise.md +++ b/components/modal/demo/confirm-promise.md @@ -1,6 +1,6 @@ --- order: 5 -title: +title: zh-CN: 确认对话框 en-US: Confirmation modal dialog --- @@ -20,7 +20,7 @@ const confirm = Modal.confirm; function showConfirm() { confirm({ - title: 'Are you sure you want to delete this item ?', + title: 'Want to delete these items?', content: 'When clicked the OK button, this dialog will be closed after 1 second', onOk() { return new Promise((resolve, reject) => { diff --git a/components/modal/demo/confirm.md b/components/modal/demo/confirm.md index c79434a3a1..da0f45bac6 100644 --- a/components/modal/demo/confirm.md +++ b/components/modal/demo/confirm.md @@ -1,6 +1,6 @@ --- order: 3 -title: +title: zh-CN: 确认对话框 en-US: Confirmation modal dialog --- @@ -19,7 +19,7 @@ const confirm = Modal.confirm; function showConfirm() { confirm({ - title: 'Are you sure you want to delete these items ?', + title: 'Want to delete these items?', content: 'some descriptions', onOk() { console.log('OK');