|
@@ -272,11 +272,9 @@ $(".collect-send").submit(function (e) {
|
|
|
icon: 'success',
|
|
|
confirmButtonColor: '#3085d6',
|
|
|
html: '發送成功'
|
|
|
- }).then((result) => {
|
|
|
- if (result.isConfirmed) {
|
|
|
- location.reload();
|
|
|
- }
|
|
|
});
|
|
|
+
|
|
|
+ location.reload();
|
|
|
},
|
|
|
beforeSend: function () {
|
|
|
console.log('beforeSend');
|
|
@@ -309,13 +307,7 @@ $(".nft-buy").submit(function (e) {
|
|
|
dataType: 'json',
|
|
|
success: function (data) {
|
|
|
console.log('購買成功: ' + data);
|
|
|
-
|
|
|
- Swal.fire({
|
|
|
- icon: 'success',
|
|
|
- confirmButtonColor: '#3085d6',
|
|
|
- html: '購買成功'
|
|
|
- });
|
|
|
-
|
|
|
+ alert("購買成功");
|
|
|
location.reload();
|
|
|
},
|
|
|
beforeSend: function () {
|