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