dever 2 年之前
父节点
当前提交
3f640d9549
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/Lib/Input.php

+ 5 - 2
src/Lib/Input.php

@@ -1047,9 +1047,12 @@ class Input
             $html .= '<div id="' . $param['name'] . '" '.$change.' class="xm-select-demo" style="min-width:150px"></div>';
             $html .= '<script>
             document.addEventListener("DOMContentLoaded", function(e) {
+                /*
                 layui.use(["table"], function() {
-                    init_xm("'.$xm_id.'", "'.$xm_radio.'", "'.$xm_tips.'", "'.$url.'", '.$xm_data.', ['.$xm_value.'], '.$xm_on.');
-                });
+                    
+                });*/
+
+                init_xm("'.$xm_id.'", "'.$xm_radio.'", "'.$xm_tips.'", "'.$url.'", '.$xm_data.', ['.$xm_value.'], '.$xm_on.');
             });
             
             </script>';