未验证 提交 0baeb37f 编写于 作者: O oasis-cloud 提交者: GitHub

fix: dialog 组件 okText 属性缺失默认值 (#573)

上级 a5df2d9e
......@@ -92,7 +92,7 @@ const BaseDialog: ForwardRefRenderFunction<
disabled={okBtnDisabled}
onClick={(e) => handleOk(e)}
>
{okText}
{okText || locale.confirm}
</Button>
)}
</>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册