From 9d678a6be62e516b116e94c46a7f0c924a8b4438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Mon, 19 Jun 2023 17:02:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20table=20=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=9A=84=20`dataCache`=20=E5=85=AC=E5=85=B1?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/table.js b/src/modules/table.js index 7859168c..47c2aa9c 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2113,6 +2113,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){ tr: tr, // 行元素 config: options, data: table.clearCacheKey(data), // 当前行数据 + dataCache: data, // 当前行缓存中的数据 index: index, del: function(){ // 删除行数据 table.cache[that.key][index] = [];