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