如题:因为需要自定义样式,想给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'); }, });
请教下如何写?
叮当猫咪
相关分类