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();
     }
 
     //预览数据