xuzhiheng 5 년 전
부모
커밋
fae94b72f5
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 1
      src/web/templates/private/cuser_rule_create.html
  2. 3 1
      src/web/templates/private/cuser_rule_edit.html

+ 3 - 1
src/web/templates/private/cuser_rule_create.html

@@ -1173,9 +1173,11 @@
                 }else{
                     showTip("数据生成失败",1000);
                 }
+            },
+            error: function (r) {
+                com.maskHide();
             }
         })
-        com.maskHide();
     }
     //预览数据
     function previewData() {

+ 3 - 1
src/web/templates/private/cuser_rule_edit.html

@@ -1285,9 +1285,11 @@
                 } else {
                     showTip("数据生成失败", 1000);
                 }
+            },
+            error: function (r) {
+                com.maskHide();
             }
         })
-        com.maskHide();
     }
 
     //预览数据