You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/04/01 00:17:14 UTC

[GitHub] [incubator-weex-site] putisoft opened a new issue #369: modal.confirm与modal.prompt样例代码错误

putisoft opened a new issue #369: modal.confirm与modal.prompt样例代码错误
URL: https://github.com/apache/incubator-weex-site/issues/369
 
 
   https://weex.apache.org/zh/docs/modules/modal.html#prompt
   这两个样例中,不应该出现duration,而应该以okTitle或cancelTitle。
   这两个都是模态对话框,不可能有duration参数的。
   
   另,modal.confirm的callback若以布尔型结果,表示点击确定或取消为更好,这样代码通用性更强,逻辑上也更合理。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services