mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-17 03:04:46 +08:00
feat: 面板帮助文档跳转到具体目录 (#3992)
This commit is contained in:
parent
279b3942b4
commit
1ecc53dad3
@ -26,7 +26,7 @@
|
|||||||
<el-link
|
<el-link
|
||||||
style="font-size: 12px; margin-left: 5px"
|
style="font-size: 12px; margin-left: 5px"
|
||||||
icon="Position"
|
icon="Position"
|
||||||
@click="toDoc()"
|
@click="toDoc(true)"
|
||||||
type="primary"
|
type="primary"
|
||||||
>
|
>
|
||||||
{{ $t('firewall.quickJump') }}
|
{{ $t('firewall.quickJump') }}
|
||||||
@ -72,7 +72,7 @@
|
|||||||
<el-link
|
<el-link
|
||||||
style="font-size: 12px; margin-left: 5px"
|
style="font-size: 12px; margin-left: 5px"
|
||||||
icon="Position"
|
icon="Position"
|
||||||
@click="toDoc()"
|
@click="toDoc(false)"
|
||||||
type="primary"
|
type="primary"
|
||||||
>
|
>
|
||||||
{{ $t('firewall.quickJump') }}
|
{{ $t('firewall.quickJump') }}
|
||||||
@ -206,8 +206,9 @@ function callback(error: any) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const toDoc = () => {
|
const toDoc = (isConf: boolean) => {
|
||||||
window.open('https://1panel.cn/docs/user_manual/settings/', '_blank', 'noopener,noreferrer');
|
let item = isConf ? '#onedrive' : '#onedrive_1';
|
||||||
|
window.open('https://1panel.cn/docs/user_manual/settings/' + item, '_blank', 'noopener,noreferrer');
|
||||||
};
|
};
|
||||||
|
|
||||||
const onSubmit = async (formEl: FormInstance | undefined) => {
|
const onSubmit = async (formEl: FormInstance | undefined) => {
|
||||||
|
@ -105,7 +105,7 @@ const handleClose = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const toDoc = () => {
|
const toDoc = () => {
|
||||||
window.open('https://1panel.cn/docs/user_manual/settings/', '_blank', 'noopener,noreferrer');
|
window.open('https://1panel.cn/docs/user_manual/settings/#webdav-alist', '_blank', 'noopener,noreferrer');
|
||||||
};
|
};
|
||||||
|
|
||||||
const onSubmit = async (formEl: FormInstance | undefined) => {
|
const onSubmit = async (formEl: FormInstance | undefined) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user