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

The resolve attribute of DropdownAlertData does not take effect, and the function is not triggered after the pop-up window is closed. #318

Open
Panlichen1996 opened this issue Nov 22, 2024 · 0 comments

Comments

@Panlichen1996
Copy link

DropdownAlertData 组件的 resolve 属性不生效,将弹窗关闭之后,所设置的函数并未被触发。

my code:

alertData: {
        type: '',
        title: 'Custom',
        message: '',
        source: reactNativeLogoSrc,
        resolve: () => {
          setIMessage("I am resolved");
        },
      }

在处理完弹窗之后, setIMessage("I am resolved"); 并未生效

@Panlichen1996 Panlichen1996 changed the title DropdownAlertData 组件的 resolve 属性不生效,将弹窗关闭之后,所设置的函数并未被触发。 DropdownAlertData 的 resolve 属性不生效,将弹窗关闭之后,所设置的函数并未被触发。 Nov 22, 2024
@testshallpass testshallpass changed the title DropdownAlertData 的 resolve 属性不生效,将弹窗关闭之后,所设置的函数并未被触发。 The resolve attribute of DropdownAlertData does not take effect, and the function is not triggered after the pop-up window is closed. Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants