From c449692b132cea579f1074a404ed3357ffb07fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E7=99=BB=E5=B1=B1?= Date: Tue, 8 Jul 2025 15:03:22 +0800 Subject: [PATCH] feat add and delete replication rule --- components.d.ts | 1 + components/object/list.vue | 33 +++-- components/replication/new-form.vue | 192 ++++++++++++++++++---------- composables/useBucket.ts | 23 +++- i18n/locales/en-US.json | 4 + i18n/locales/zh-CN.json | 4 + pages/replication/index.vue | 40 +++++- 7 files changed, 205 insertions(+), 92 deletions(-) diff --git a/components.d.ts b/components.d.ts index b2a3519..de0fa14 100644 --- a/components.d.ts +++ b/components.d.ts @@ -71,6 +71,7 @@ declare module 'vue' { NText: typeof import('naive-ui')['NText'] NThing: typeof import('naive-ui')['NThing'] NTooltip: typeof import('naive-ui')['NTooltip'] + NVirtualList: typeof import('naive-ui')['NVirtualList'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/components/object/list.vue b/components/object/list.vue index 4516e22..1409d97 100644 --- a/components/object/list.vue +++ b/components/object/list.vue @@ -2,7 +2,7 @@ @@ -48,13 +48,23 @@ :bordered="false" /> @@ -72,6 +82,7 @@