feat: okText add function #6748
parent
7bfe30d280
commit
e3f09a18a1
|
@ -219,7 +219,8 @@ export default defineComponent<ConfirmDialogProps>({
|
|||
buttonProps={okButtonProps}
|
||||
prefixCls={`${rootPrefixCls}-btn`}
|
||||
>
|
||||
{okText || (mergedOkCancel ? mergedLocal.okText : mergedLocal.justOkText)}
|
||||
{renderSomeContent(okText) ||
|
||||
(mergedOkCancel ? mergedLocal.okText : mergedLocal.justOkText)}
|
||||
</ActionButton>
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue