浏览代码

range validator message

jqh 6 年之前
父节点
当前提交
d327d920c4
共有 3 个文件被更改,包括 14 次插入0 次删除
  1. 7 0
      resources/assets/dcat-admin/form.js
  2. 7 0
      resources/assets/dcat-admin/main.js
  3. 0 0
      resources/assets/dcat-admin/main.min.js

+ 7 - 0
resources/assets/dcat-admin/form.js

@@ -188,6 +188,13 @@
                 $c = $form.find('[name="' + column.replace(/end$/, '') + '"]');
             }
 
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/start\]$/, ']') + '"]');
+            }
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/end\]$/, ']') + '"]');
+            }
+
             return $c;
         }
 

+ 7 - 0
resources/assets/dcat-admin/main.js

@@ -907,6 +907,13 @@ window.require = window.define = window.exports = window.module = undefined;
                 $c = $form.find('[name="' + column.replace(/end$/, '') + '"]');
             }
 
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/start\]$/, ']') + '"]');
+            }
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/end\]$/, ']') + '"]');
+            }
+
             return $c;
         }
 

文件差异内容过多而无法显示
+ 0 - 0
resources/assets/dcat-admin/main.min.js


部分文件因为文件数量过多而无法显示