From 542bf7304024422a4178769616e2ef6be43d71ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E7=99=BB=E5=B1=B1?= Date: Wed, 4 Jun 2025 15:39:01 +0800 Subject: [PATCH] feat : bucket retention --- components.d.ts | 2 + components/buckets/info.vue | 261 ++++++++++++++++++++++++++---------- composables/useBucket.ts | 27 +++- i18n/locales/en-US.json | 24 +++- i18n/locales/zh-CN.json | 24 +++- 5 files changed, 265 insertions(+), 73 deletions(-) diff --git a/components.d.ts b/components.d.ts index b2a3519..bc504fa 100644 --- a/components.d.ts +++ b/components.d.ts @@ -40,9 +40,11 @@ declare module 'vue' { NGrid: typeof import('naive-ui')['NGrid'] NH3: typeof import('naive-ui')['NH3'] NH4: typeof import('naive-ui')['NH4'] + NIcon: typeof import('naive-ui')['NIcon'] NInput: typeof import('naive-ui')['NInput'] NInputGroup: typeof import('naive-ui')['NInputGroup'] NInputGroupLabel: typeof import('naive-ui')['NInputGroupLabel'] + NInputNum: typeof import('naive-ui')['NInputNum'] NInputNumber: typeof import('naive-ui')['NInputNumber'] NLayout: typeof import('naive-ui')['NLayout'] NLayoutSider: typeof import('naive-ui')['NLayoutSider'] diff --git a/components/buckets/info.vue b/components/buckets/info.vue index 92aec12..e6abf41 100644 --- a/components/buckets/info.vue +++ b/components/buckets/info.vue @@ -1,24 +1,25 @@