mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-08 14:37:29 +08:00
feat: Modify document address (#7381)
This commit is contained in:
parent
f58ed5614e
commit
4c03a482bd
2 changed files with 6 additions and 2 deletions
|
@ -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');
|
||||
};
|
||||
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue