From 23e94d8f6eef4842fee7a5f4ba49c143561e19ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E7=99=BB=E5=B1=B1?= Date: Thu, 24 Jul 2025 18:06:03 +0800 Subject: [PATCH] feat : object count and bucket size rustfs/rustfs#172 --- components/object/list.vue | 5 +- pages/browser/index.vue | 111 +++++++++++++++++++++++++++---------- 2 files changed, 85 insertions(+), 31 deletions(-) diff --git a/components/object/list.vue b/components/object/list.vue index 1b60016..3a7d492 100644 --- a/components/object/list.vue +++ b/components/object/list.vue @@ -362,7 +362,7 @@ const filteredObjects = computed(() => { }); }); -/** ************************************批量删除 */ +/** ************************************批量删除********************************* */ function rowKey(row: any): string { return row.Key || ''; } @@ -417,7 +417,9 @@ function handleBatchDelete() { }, }); } +/** ************************************批量删除********************************* */ +/** ************************************下载********************************* */ // 下载 const handledownload = async (item: any) => { if (item.type === 'object') { @@ -523,6 +525,7 @@ const downloadMultiple = async () => { saveAs(zipBlob, `download.zip`); message.success(t('Download ready')); }; +/** ************************************下载********************************* */ // 为了实现 "Previous" 功能,需要记录访问过的 token 列表。 // 因为我们是通过路由导航,每次下一页时会改变 URL,从而 SSR 获取新数据。 diff --git a/pages/browser/index.vue b/pages/browser/index.vue index 22a0476..744ad3d 100644 --- a/pages/browser/index.vue +++ b/pages/browser/index.vue @@ -26,7 +26,13 @@ - + @@ -35,19 +41,43 @@