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

在try里面获得的数据,如何让confirm使用? #306

Closed
xiaolshi opened this issue May 26, 2020 · 2 comments
Closed

在try里面获得的数据,如何让confirm使用? #306

xiaolshi opened this issue May 26, 2020 · 2 comments

Comments

@xiaolshi
Copy link

No description provided.

@RabbitsInTheGrass
Copy link

我尝试的过程中发现。你可以把你try里面获得的数据,在方法的入参里做个特殊的属性去接收。这样confirm方法里能拿到这个修改后的属性。

@changmingxie
Copy link
Owner

由于confirm可能会异步、延迟执行,通过简单的方法传递并不可靠,可以通过其他方式在confirm 重新获取。

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

3 participants