What is the new or updated feature that you are suggesting?
Dialog.show({
closeable: false,
theme: 'round-button',
message: t('login.loginFailTip'),
footer: (
<div
style={{ borderWidth: 1 }}
className="border-black border-solid rounded-[var(--rv-button-round-border-radius)]"
>
<Button
round
block
className="border-[length:1px_!important] border-black border-solid"
color="linear-gradient( 90deg, #B847FF 0%, #27CDFF 100%)"
onClick={() => {}}
>
OK
),
});
Why should this feature be included?
提供了自定义footer的方法,并且footer定义是ReactNode,并不是函数接受close方法。但是全局又没有提供可以关闭弹窗的api可以调用,导致打开了弹层就关闭不了
What is the new or updated feature that you are suggesting?
Dialog.show({
closeable: false,
theme: 'round-button',
message: t('login.loginFailTip'),
footer: (
<div
style={{ borderWidth: 1 }}
className="border-black border-solid rounded-[var(--rv-button-round-border-radius)]"
>
<Button
round
block
className="border-[length:1px_!important] border-black border-solid"
color="linear-gradient( 90deg, #B847FF 0%, #27CDFF 100%)"
onClick={() => {}}
>
OK
),
});
Why should this feature be included?
提供了自定义footer的方法,并且footer定义是ReactNode,并不是函数接受close方法。但是全局又没有提供可以关闭弹窗的api可以调用,导致打开了弹层就关闭不了