如题:因为需要自定义样式,想给confirm外层包一层div confirm({
title: 'Are you sure delete this task?',
content: 'Some descriptions',
okText: 'Yes',
okType: 'danger',
okButtonProps: {
disabled: true,
},
cancelText: 'No',
onOk() {
console.log('OK');
},
onCancel() {
console.log('Cancel');
},
});请教下如何写?
添加回答
举报
0/150
提交
取消