lvzhiqiang 2 rokov pred
rodič
commit
2db484cd3a
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      src/main/resources/static/js/my-coin.js

+ 3 - 3
src/main/resources/static/js/my-coin.js

@@ -408,9 +408,9 @@ function initContentEvent(nameEn) {
                     success: function (data) {
                         //请求成功时处理
                         if (data != null && $.trim(data) != "" && data.success) {
-                            console.log("success");
+                            $(".watchlistpreview-top-close").click();
                         } else {
-                            //alert(data.message);
+                            console.log("watchlistpreview-top-submit success error," + data);
                         }
                     },
                     beforeSend: function () {
@@ -419,7 +419,7 @@ function initContentEvent(nameEn) {
                     },
                     error: function (data) {
                         //请求出错处理
-                        //alert('error:' + data);
+                        console.log("watchlistpreview-top-submit error," + data);
                     }
                 });
             });