From 0a5dd84dc0317eb8c65d5d9e219c9a3f28da9ced Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Wed, 2 Aug 2023 17:27:43 +0800 Subject: [PATCH] =?UTF-8?q?jquery=E6=89=93=E5=8D=B0null=E5=80=BC=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js index b54b15afb..de8c2486f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js @@ -191,10 +191,10 @@ $table.append($tr); $.each(_item.gridHead, function (_i, _h) { if (_i == _item.gridHead.length - 1) { - $tr.append('' + _b[_h.name] + ''); + $tr.append('' + (_b[_h.name] ? _b[_h.name]:'') + ''); } else { - $tr.append('' + _b[_h.name] + ''); + $tr.append('' + (_b[_h.name] ? _b[_h.name] : '') + ''); } }); });