mirror of https://github.com/layui/layui
新增 table 事件返回的 `dataCache` 公共属性
parent
7eef6ea99c
commit
9d678a6be6
|
@ -2113,6 +2113,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||||
tr: tr, // 行元素
|
tr: tr, // 行元素
|
||||||
config: options,
|
config: options,
|
||||||
data: table.clearCacheKey(data), // 当前行数据
|
data: table.clearCacheKey(data), // 当前行数据
|
||||||
|
dataCache: data, // 当前行缓存中的数据
|
||||||
index: index,
|
index: index,
|
||||||
del: function(){ // 删除行数据
|
del: function(){ // 删除行数据
|
||||||
table.cache[that.key][index] = [];
|
table.cache[that.key][index] = [];
|
||||||
|
|
Loading…
Reference in New Issue