feat: add other_setting docs link

This commit is contained in:
1808837298@qq.com
2025-02-02 22:18:37 +08:00
parent cf63ab59cf
commit 0831ba2645
2 changed files with 31 additions and 17 deletions

View File

@@ -982,6 +982,7 @@ const EditChannel = (props) => {
value={inputs.setting} value={inputs.setting}
autoComplete="new-password" autoComplete="new-password"
/> />
<Space>
<Typography.Text <Typography.Text
style={{ style={{
color: 'rgba(var(--semi-blue-5), 1)', color: 'rgba(var(--semi-blue-5), 1)',
@@ -999,6 +1000,19 @@ const EditChannel = (props) => {
> >
{t('填入模板')} {t('填入模板')}
</Typography.Text> </Typography.Text>
<Typography.Text
style={{
color: 'rgba(var(--semi-blue-5), 1)',
userSelect: 'none',
cursor: 'pointer'
}}
onClick={() => {
window.open('https://github.com/Calcium-Ion/new-api/blob/main/docs/channel/other_setting.md');
}}
>
{t('设置说明')}
</Typography.Text>
</Space>
</> </>
</Spin> </Spin>
</SideSheet> </SideSheet>