diff --git a/frontend/src/views/setting/backup-account/index.vue b/frontend/src/views/setting/backup-account/index.vue index 8c04da48f..045fda09a 100644 --- a/frontend/src/views/setting/backup-account/index.vue +++ b/frontend/src/views/setting/backup-account/index.vue @@ -9,7 +9,7 @@  {{ $t('setting.LOCAL') }}
- + {{ $t('commons.button.edit') }}
@@ -414,6 +414,7 @@ + @@ -430,6 +431,7 @@ import { dateFormat } from '@/utils/util'; import { onMounted, ref } from 'vue'; import OpDialog from '@/components/del-dialog/index.vue'; import { getBackupList, deleteBackup } from '@/api/modules/setting'; +import localDialog from '@/views/setting/backup-account/local/index.vue'; import s3Dialog from '@/views/setting/backup-account/s3/index.vue'; import ossDialog from '@/views/setting/backup-account/oss/index.vue'; import cosDialog from '@/views/setting/backup-account/cos/index.vue'; @@ -446,6 +448,7 @@ const data = ref(); const opRef = ref(); const refresh = ref(false); +const localRef = ref(); const s3Ref = ref(); const ossRef = ref(); const cosRef = ref(); @@ -647,6 +650,9 @@ const onOpenDialog = async ( rowData: { ...rowData }, }; switch (accountType) { + case 'LOCAL': + localRef.value.acceptParams(params); + return; case 'S3': s3Ref.value.acceptParams(params); return; diff --git a/frontend/src/views/setting/backup-account/local/index.vue b/frontend/src/views/setting/backup-account/local/index.vue new file mode 100644 index 000000000..d30aee4a8 --- /dev/null +++ b/frontend/src/views/setting/backup-account/local/index.vue @@ -0,0 +1,126 @@ + + + + +