diff --git a/frontend/views/menu/index.php b/frontend/views/menu/index.php index 8621179..45625f7 100644 --- a/frontend/views/menu/index.php +++ b/frontend/views/menu/index.php @@ -21,7 +21,7 @@ use \common\libs\MyLib;
- +
@@ -108,9 +108,9 @@ use \common\libs\MyLib; var tab=$("#listTable").attr('data-height'); $('.fixed-table-body').css({'height':tab-40}); //当浏览器窗口变化时,表头与表格不对齐解决 - $('#table').bootstrapTable(); + $('#align').bootstrapTable(); $(window).resize(function () { - $('#table').bootstrapTable('resetView'); + $('#align').bootstrapTable('resetView'); }); }); diff --git a/frontend/views/permissions/index.php b/frontend/views/permissions/index.php index bf78bbc..dd52711 100644 --- a/frontend/views/permissions/index.php +++ b/frontend/views/permissions/index.php @@ -21,7 +21,7 @@ use \common\libs\MyLib;
-
ID
+
@@ -104,9 +104,9 @@ use \common\libs\MyLib; var tab=$("#listTable").attr('data-height'); $('.fixed-table-body').css({'height':tab-40}); //当浏览器窗口变化时,表头与表格不对齐解决 - $('#table').bootstrapTable(); + $('#align').bootstrapTable(); $(window).resize(function () { - $('#table').bootstrapTable('resetView'); + $('#align').bootstrapTable('resetView'); }); });
ID