From 863eb5ef0955207e61325448c49a65fcf8c71a51 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 18 Jan 2020 21:58:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=BD=E5=BA=A6=E5=B0=8F=E4=BA=8E=20?= =?UTF-8?q?768=20=E6=97=B6=E7=A6=81=E6=AD=A2=E5=9B=BA=E5=AE=9A=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js index b5702dc4..5171cbd7 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js +++ b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js @@ -435,8 +435,8 @@ }); } - // 判断是否固定表头 - var fixHeader = this.attr('data-fixedHeader') === ''; + // 判断是否固定表头 小屏幕禁止固定表头功能 + var fixHeader = this.attr('data-fixedHeader') === '' && $(window).width() >= 768; var $tabContainer = $(settings.tableContainer); if (fixHeader && settings.height === undefined) { var calcPrevHeight = function (element) {