From b15c596289ab697772ec536dda134f39bb235d6d Mon Sep 17 00:00:00 2001 From: libo Date: Thu, 9 Feb 2023 15:34:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=97=E8=A1=A8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=8D=95=E5=87=BB=E8=A1=8C=E6=97=B6=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E8=A1=8C=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/LR_Content/plugin/grid/jfgrid.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js index 030636b1f..8303efe61 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js @@ -1591,7 +1591,10 @@ var rowIndex = parseInt(rownum.replace(op.id + '_', '')); // 获取当前行数据 var rowItem = op.running.rowdata[rowIndex]; - var rowData = rowItem['jfgridRowData']; + if (rowItem) { + console.log('rowitem') + var rowData = rowItem['jfgridRowData']; + } // 判断当前单元格是否是可编辑 var colname = $cell.attr('colname');