重命名按钮功能实现

This commit is contained in:
Chenx221 2024-02-16 11:55:57 +08:00
parent a522af833d
commit c7a16e82c5
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -120,8 +120,8 @@ $(document).on('click', '.unzip-btn', function () {
}); });
$(document).on('click', '.single-rename-btn', function () { $(document).on('click', '.single-rename-btn', function () {
console.log('重命名按钮被点击'); var relativePath = $('.select-item:checked').first().data('relativePath');
// 在这里添加你的代码 $('.rename-btn[value="' + relativePath + '"]').trigger('click');
}); });
$(document).on('click', '.batch-copy-btn', function () { $(document).on('click', '.batch-copy-btn', function () {