single-download-btn按钮功能实现
This commit is contained in:
parent
fed77cf43e
commit
db903bd4b3
@ -54,8 +54,8 @@ $(document).on('click', '.new-folder-btn', function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
$(document).on('click', '.single-download-btn', function () {
|
$(document).on('click', '.single-download-btn', function () {
|
||||||
console.log('单文件下载按钮被点击');
|
var relativePath = $('.select-item:checked').first().data('relativePath');
|
||||||
// 在这里添加你的代码
|
window.location.href = 'index.php?r=home%2Fdownload&relativePath=' + encodeURIComponent(relativePath);
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('click', '.batch-zip-download-btn', function () {
|
$(document).on('click', '.batch-zip-download-btn', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user