Mike 3 yıl önce
ebeveyn
işleme
401770e097
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      ArkCard-web/goto.js

+ 4 - 2
ArkCard-web/goto.js

@@ -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');