mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
update demo text
This commit is contained in:
parent
6edac76abb
commit
66891a7cc0
@ -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) => {
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user