lihongxun945/jquery-weui

警告框的回调中有写ajax请求,请求成功警告框才会消失

webwjg opened this issue · 0 comments

`$.modal({
title: "温馨提示",
text:"请",
buttons: [
{ text: "取消", className: "default" },
{ text: "确认",onClick: function() {
console.log('时间比较长的请求时,会再请求响应成功后,才会消失')
}}
]
});

`
警告框的回调中有写ajax请求,请求成功后警告框才会消失