This commit is contained in:
BianLzhaoMin 2025-02-26 18:28:46 +08:00
parent 6e5665cb6c
commit 91f3a7e28d
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@
let curTd = tableView.find('tr[data-index=' + rowIndex + ']').find('td[data-field=' + key + ']') let curTd = tableView.find('tr[data-index=' + rowIndex + ']').find('td[data-field=' + key + ']')
if (curTd.length > 0) { if (curTd.length > 0) {
$(curTd).text(formData[key]); $(curTd).find('.layui-table-cell').text(formData[key]);
} else { } else {
console.log('没有找到对应的 td', key); console.log('没有找到对应的 td', key);
} }