This commit is contained in:
BianLzhaoMin 2025-02-27 10:46:21 +08:00
parent 11aec6b395
commit 33d68dfddf
1 changed files with 4 additions and 1 deletions

View File

@ -227,7 +227,10 @@
let dataId = $(this).data('field')
if (`${dataId}-file` && `${dataId}-file`.fileName) {
console.log(dataId)
console.log(item1[`${dataId}-file`])
if (item1[`${dataId}-file`] && item1[`${dataId}-file`][fileName]) {
$(this).find('.layui-table-cell').append(`<i class="layui-icon layui-icon-file-b" style="margin-right:6px"></i> `)
}
}