update demo text

This commit is contained in:
afc163 2016-10-07 18:00:48 +08:00
parent 6edac76abb
commit 66891a7cc0
2 changed files with 4 additions and 4 deletions

View File

@ -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) => {

View File

@ -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');