From 4c03a482bd857c7fe79771a00e4ab7c2fa657ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:28:12 +0800 Subject: [PATCH] feat: Modify document address (#7381) --- frontend/src/views/setting/backup-account/onedrive/index.vue | 5 ++++- frontend/src/views/setting/backup-account/webdav/index.vue | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/setting/backup-account/onedrive/index.vue b/frontend/src/views/setting/backup-account/onedrive/index.vue index 641744ff0..ef2d8a2a6 100644 --- a/frontend/src/views/setting/backup-account/onedrive/index.vue +++ b/frontend/src/views/setting/backup-account/onedrive/index.vue @@ -216,7 +216,10 @@ function callback(error: any) { } const toDoc = (isConf: boolean) => { - let item = isConf ? '#onedrive' : '#onedrive_1'; + let item = isConf ? '#32-onedrive' : '#33-onedrive'; + if (globalStore.isIntl) { + item = isConf ? '#using-your-own-client-info-for-onedrive' : '#auth-code-of-onedrive'; + } window.open(globalStore.docsUrl + '/user_manual/settings/' + item, '_blank', 'noopener,noreferrer'); }; diff --git a/frontend/src/views/setting/backup-account/webdav/index.vue b/frontend/src/views/setting/backup-account/webdav/index.vue index 35f70b1f3..0d65a4a29 100644 --- a/frontend/src/views/setting/backup-account/webdav/index.vue +++ b/frontend/src/views/setting/backup-account/webdav/index.vue @@ -114,7 +114,8 @@ const handleClose = () => { }; const toDoc = () => { - window.open(globalStore.docsUrl + '/user_manual/settings/#34-webdav-alist', '_blank', 'noopener,noreferrer'); + const uri = globalStore.isIntl ? '#webdav-with-alist' : '#34-webdav-alist'; + window.open(globalStore.docsUrl + '/user_manual/settings/' + uri, '_blank', 'noopener,noreferrer'); }; const onSubmit = async (formEl: FormInstance | undefined) => {