更新数据同步
This commit is contained in:
@@ -219,10 +219,11 @@
|
||||
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="flex justify-end pt-2 border-t border-gray-100">
|
||||
<button class="text-blue-500 hover:text-blue-700 transition-colors flex items-center px-2 py-1 rounded-md hover:bg-blue-50"
|
||||
th:onclick="downloadFile([(${file.getFileId()})])">
|
||||
<button class="text-blue-500 hover:text-blue-700 transition-colors flex items-center px-2 py-1 rounded-md hover:bg-blue-50">
|
||||
<i class="fa fa-download mr-1 text-sm"></i>
|
||||
<span class="text-sm">下载</span>
|
||||
<span class="text-sm">
|
||||
<a th:href="@{/biz/downloadFile(fileId=${file.getFileId()})}" target="_blank">下载 </a>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -434,14 +435,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 下载文件
|
||||
function downloadFile(fileId) {
|
||||
setTimeout(() => {
|
||||
showMessage(`下载成功`);
|
||||
window.open('downloadFile?fileId=' + fileId, '_blank')
|
||||
}, 800);
|
||||
}
|
||||
|
||||
// 打开创建文件夹弹窗
|
||||
function openCreateFolderModal() {
|
||||
document.getElementById('createFolderModal').classList.remove('hidden');
|
||||
|
||||
Reference in New Issue
Block a user