瀏覽代碼

handle ajax error

jqh 5 年之前
父節點
當前提交
65c602119d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Grid/Displayers/Checkbox.php
  2. 1 1
      src/Grid/Displayers/Radio.php

+ 1 - 1
src/Grid/Displayers/Checkbox.php

@@ -90,7 +90,7 @@ EOT;
             error: function (a, b, c) {
                 btn.buttonLoading(false);
                 f = 0;
-                Dcat.ajaxError(a, b, c);
+                Dcat.handleAjaxError(a, b, c);
             },
         });
     

+ 1 - 1
src/Grid/Displayers/Radio.php

@@ -80,7 +80,7 @@ EOT;
             error: function (a, b, c) {
                 btn.buttonLoading(false);
                 f = 0;
-                Dcat.ajaxError(a, b, c);
+                Dcat.handleAjaxError(a, b, c);
             },
         });