This commit is contained in:
parent
6e5665cb6c
commit
91f3a7e28d
|
|
@ -343,7 +343,7 @@
|
|||
let curTd = tableView.find('tr[data-index=' + rowIndex + ']').find('td[data-field=' + key + ']')
|
||||
|
||||
if (curTd.length > 0) {
|
||||
$(curTd).text(formData[key]);
|
||||
$(curTd).find('.layui-table-cell').text(formData[key]);
|
||||
} else {
|
||||
console.log('没有找到对应的 td:', key);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue