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

Modal组件里面的operation操作弹窗,能不能增加配置项backdropDismiss:点击背景关闭operation #799

Closed
6oVe opened this issue Aug 6, 2021 · 0 comments
Assignees

Comments

@6oVe
Copy link

6oVe commented Aug 6, 2021

现在的modalService:

ModalSerivce.operation(actions?, platform?)

 this._modal.operation([
      { text: '标为未读', onPress: () => console.log('标为未读被点击了') },
      { text: '置顶聊天', onPress: () => console.log('置顶聊天被点击了') }
    ]);

希望修改modalService:

ModalSerivce.operation(actions?, platform?, modalOptions?)

 this._modal.operation([
      { text: '标为未读', onPress: () => console.log('标为未读被点击了') },
      { text: '置顶聊天', onPress: () => console.log('置顶聊天被点击了') }
    ],{backdropDismiss:true});

麻烦了,谢谢!

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