Skip to content

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

@Panlichen1996

Description

@Panlichen1996

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

my code:

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

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions