diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index dfcfbd9e2..155386c50 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1065,6 +1065,7 @@ const message = { SFTP: 'SFTP', OneDrive: 'Microsoft OneDrive', backupDir: 'Backup dir', + codeWarning: 'The current authorization code format is incorrect, please confirm again!', isCN: 'Domestic version', code: 'Auth code', codeHelper: diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 004ca44ed..71222294e 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1020,6 +1020,7 @@ const message = { MINIO: 'MINIO', SFTP: 'SFTP', OneDrive: '微軟 OneDrive', + codeWarning: '當前授權碼格式錯誤,請重新確認!', backupDir: '備份路徑', isCN: '國內版', code: '授權碼', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 4b8de1cd4..889ebbd4e 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1020,6 +1020,7 @@ const message = { MINIO: 'MINIO', SFTP: 'SFTP', OneDrive: '微软 OneDrive', + codeWarning: '当前授权码格式错误,请重新确认!', backupDir: '备份路径', isCN: '国内版', code: '授权码', diff --git a/frontend/src/views/setting/backup-account/operate/index.vue b/frontend/src/views/setting/backup-account/operate/index.vue index cb8b8a583..8a4525905 100644 --- a/frontend/src/views/setting/backup-account/operate/index.vue +++ b/frontend/src/views/setting/backup-account/operate/index.vue @@ -52,7 +52,7 @@ v-if="dialogData.rowData!.type === 'OneDrive'" :label="$t('setting.code')" prop="varsJson.code" - :rules="Rules.requiredInput" + :rules="rules.driveCode" >