代码调试
This commit is contained in:
parent
51afd88648
commit
99455f7e23
|
|
@ -193,7 +193,7 @@
|
|||
loading: true,
|
||||
done: function (res) {
|
||||
var tableView = this.elem.next();
|
||||
layui.each(res.data, function (i, item) {
|
||||
layui.each(res.data, function (i, item1) {
|
||||
if (item.isApprove == '1') { // Condition to make the row non-editable
|
||||
|
||||
}
|
||||
|
|
@ -212,15 +212,15 @@
|
|||
let fileDom = '';
|
||||
|
||||
// 只要有文件列表,并且文件列表数量大于0,添加文件信息
|
||||
if (item.fileList && item.fileList.length > 0) {
|
||||
if (item1.fileList && item1.fileList.length > 0) {
|
||||
// 根据文件列表的索引判断将哪个文件添加到相应的列
|
||||
fileDom = `<span>${item.fileList[index - 3]}</span>`;
|
||||
fileDom = `<span>${item1.fileList[index - 3]}</span>`;
|
||||
}
|
||||
|
||||
console.log('fileDomfileDomfileDomfileDom', fileDom)
|
||||
|
||||
// 将fileDom添加到当前单元格
|
||||
$(this).prepend(fileDom);
|
||||
$(this).append(fileDom);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue