Browse Source

fix a minor error

pull/1074/head
贤心 2 years ago
parent
commit
3484a69c72
  1. 2
      src/modules/table.js

2
src/modules/table.js

@ -1773,7 +1773,7 @@ layui.define(['laytpl', 'laypage', 'form', 'util'], function(exports){
tr.remove(); tr.remove();
that.scrollPatch(); that.scrollPatch();
} }
,update: function(fields, ){ //修改行数据 ,update: function(fields){ //修改行数据
fields = fields || {}; fields = fields || {};
layui.each(fields, function(key, value){ layui.each(fields, function(key, value){
var td = tr.children('td[data-field="'+ key +'"]'); var td = tr.children('td[data-field="'+ key +'"]');

Loading…
Cancel
Save