소스 검색

拖拽和宽度调整

laiguoran 3 년 전
부모
커밋
e0ce7a05f4
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/public/js/change_information_set.js
  2. 1 1
      app/view/dashboard/index.ejs

+ 1 - 1
app/public/js/change_information_set.js

@@ -1198,7 +1198,7 @@ $(document).ready(() => {
         $('#code-list').html('');
         $('#code-select-all').prop('checked', false);
     });
-    $("#addlist").draggable();
+    $("#addlist").draggable({ handle: '.modal-header, .modal-footer'});
     // 检索关键字切换
     $('body').on('click', '#list-search-keyword tr', function () {
         if (!$(this).hasClass('bg-primary')) {

+ 1 - 1
app/view/dashboard/index.ejs

@@ -63,7 +63,7 @@
                                     <tr>
                                         <th class="pl-3">类型</th>
                                         <th>名称</th>
-                                        <th width="50">状态</th>
+                                        <th width="60">状态</th>
                                         <th width="120">创建时间</th>
                                         <th width="80">操作</th>
                                     </tr>