@@ -251,6 +307,9 @@
{{ sftpData.bucket }}
+
+ {{ sftpData.backupPath }}
+
{{ dateFormat(0, 0, sftpData.createdAt) }}
@@ -284,6 +343,7 @@ const localData = ref({
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
dir: '',
@@ -296,6 +356,7 @@ const ossData = ref({
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
region: '',
@@ -309,6 +370,7 @@ const minioData = ref({
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
region: '',
@@ -322,6 +384,7 @@ const sftpData = ref({
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
address: '',
@@ -329,12 +392,26 @@ const sftpData = ref({
},
createdAt: new Date(),
});
+const oneDriveData = ref({
+ id: 0,
+ type: 'OneDrive',
+ accessKey: '',
+ bucket: '',
+ credential: '',
+ backupPath: '',
+ vars: '',
+ varsJson: {
+ redirectURI: '',
+ },
+ createdAt: new Date(),
+});
const s3Data = ref({
id: 0,
type: 'S3',
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
region: '',
@@ -348,6 +425,7 @@ const cosData = ref({
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
region: '',
@@ -360,6 +438,7 @@ const kodoData = ref({
accessKey: '',
bucket: '',
credential: '',
+ backupPath: '',
vars: '',
varsJson: {
domain: '',
@@ -396,6 +475,9 @@ const search = async () => {
case 'KODO':
kodoData.value = bac;
break;
+ case 'OneDrive':
+ oneDriveData.value = bac;
+ break;
}
}
};
diff --git a/frontend/src/views/setting/backup-account/operate/index.vue b/frontend/src/views/setting/backup-account/operate/index.vue
index 5e89cf434..95325c490 100644
--- a/frontend/src/views/setting/backup-account/operate/index.vue
+++ b/frontend/src/views/setting/backup-account/operate/index.vue
@@ -45,6 +45,21 @@
>
+
+
+
+
+
+
+ {{ $t('setting.loadCode') }}
+
+
+
+
+
+