demo: update modal demo

pull/12799/head
afc163 6 years ago
parent 2c6ee4caa1
commit a27c8a2740

@ -53,13 +53,9 @@ function showPropsConfirm() {
content: 'Some descriptions', content: 'Some descriptions',
okText: 'Yes', okText: 'Yes',
okType: 'danger', okType: 'danger',
maskClosable: true,
okButtonProps: { okButtonProps: {
disabled: true, disabled: true,
}, },
cancelButtonProps: {
loading: true,
},
cancelText: 'No', cancelText: 'No',
onOk() { onOk() {
console.log('OK'); console.log('OK');

Loading…
Cancel
Save