我想在回调函数后添加另一个函数Sweetalert2。 在示例中,只需在swal运行时添加计时器。 这是基本的代码: swal({
title: 'alert!',
text: 'I need this close after my function',
})
及以下ajax和我需要的swal接近second后ajax成功 $.ajax({
dataType:
我到目前为止的代码,把我送到某个网页: swal({
title: 'Successfully Registered!',
text: "Do you want to go to the Log In page?",
type: 'success',
showCancelButton: true,
confirmButtonColor: '#308