@@ -272,9 +272,11 @@ $(".collect-send").submit(function (e) {
icon: 'success',
confirmButtonColor: '#3085d6',
html: '發送成功'
+ }).then((result) => {
+ if (result.isConfirmed) {
+ location.reload();
+ }
});
-
- location.reload();
},
beforeSend: function () {
console.log('beforeSend');