Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useModalInner 回调里 setModalProps 不生效 #3817

Open
zhanxuan opened this issue May 8, 2024 · 1 comment
Open

useModalInner 回调里 setModalProps 不生效 #3817

zhanxuan opened this issue May 8, 2024 · 1 comment

Comments

@zhanxuan
Copy link

zhanxuan commented May 8, 2024

const [register, { closeModal, setModalProps }] = useModalInner(async () => {
setModalProps({
title: '重开',
okText: '下一步',
cancelText: '取消',
});
});

@zwtvip
Copy link
Contributor

zwtvip commented May 21, 2024

要打开弹框要传参数才会生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants