rabin 3 years ago
parent
commit
3e53bc307d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      assets/layadmin/html/inc/script.html
  2. 1 1
      src/Lib/Input.php

+ 1 - 1
assets/layadmin/html/inc/script.html

@@ -39,4 +39,4 @@
 <script type="text/javascript" src="../script/lib/excel/excel.js?v16"></script>
 
 <!-- 加载主要js,很乱,后续优化 -->
-<script type="text/javascript" src="../script/lib/manage/main.js?v313"></script>
+<script type="text/javascript" src="../script/lib/manage/main.js?v315"></script>

+ 1 - 1
src/Lib/Input.php

@@ -1034,7 +1034,7 @@ class Input
             }
         }
         
-        $html .= $hidden . '<select '.$xm.' class="update_value form-control ' . $child_class . '  ' . (isset($param['valid']) ? $param['valid'] : '') . '" name="' . $param['name'] . '" id="' . $param['name'] . '"  ' . $change . '  style="' . $style . '">';
+        $html .= $hidden . '<select '.$xm.' class="update_value form-control ' . $child_class . '  ' . (isset($param['valid']) ? $param['valid'] : '') . '" name="' . $param['name'] . '" id="' . $param['name'] . '"  ' . $change . '  style="' . $style . '" data-validation-placeholder="0">';
 
         if (isset($param['option'])) {