Closed yyh2219182230 closed 4 years ago
同遇到,楼上的兄弟怎么解决的?
:confused:
翻了下Issue,看到了这个:#232
var confirm = weui.confirm('自定义标题的confirm', function () {
confirm.hide(function(){
weui.alert('xxx');
});
});
用定时器,或者回调方法
------------------ 原始邮件 ------------------ 发件人: "Nine"notifications@github.com; 发送时间: 2019年8月12日(星期一) 下午5:57 收件人: "Tencent/weui.js"weui.js@noreply.github.com; 抄送: "迟暮 indulgeヽ"2219182230@qq.com; "Author"author@noreply.github.com; 主题: Re: [Tencent/weui.js] comfirm 关闭时 alert 组件无法显示 (#287)
同遇到,楼上的兄弟怎么解决的?
😕
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
在使用 comfirm 组件的时候,在确定的回调事件触发时,调用 weui.alert 无法显示
weui.confirm('是否确认提交?', function(){ weui.alert('温馨提示'); });
alert 弹框 不会出现。