This commit is contained in:
BianLzhaoMin 2025-05-23 16:03:27 +08:00
parent 157156faf1
commit 51c286f4a1
1 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@
$('.password-book-list').append( $('.password-book-list').append(
'<div class="password-book-item">' + '<div class="password-book-item">' +
'<span>' + item.fileName + '</span>' + '<span>' + item.fileName + '</span>' +
'<span data-id="' + item.id + '" onclick="deleteFile(this)">删除</span>' + '<span data-id="' + item.id + '">删除</span>' +
'</div>' '</div>'
) )
}) })
@ -149,8 +149,8 @@
} }
// 删除文件 // 删除文件
function deleteFile(this) { function deleteFile() {
console.log(this, 'this') console.log('this')
} }
getUploadFile() getUploadFile()