feat: add other_setting docs link
This commit is contained in:
@@ -982,23 +982,37 @@ const EditChannel = (props) => {
|
|||||||
value={inputs.setting}
|
value={inputs.setting}
|
||||||
autoComplete="new-password"
|
autoComplete="new-password"
|
||||||
/>
|
/>
|
||||||
<Typography.Text
|
<Space>
|
||||||
style={{
|
<Typography.Text
|
||||||
color: 'rgba(var(--semi-blue-5), 1)',
|
style={{
|
||||||
userSelect: 'none',
|
color: 'rgba(var(--semi-blue-5), 1)',
|
||||||
cursor: 'pointer'
|
userSelect: 'none',
|
||||||
}}
|
cursor: 'pointer'
|
||||||
onClick={() => {
|
}}
|
||||||
handleInputChange(
|
onClick={() => {
|
||||||
'setting',
|
handleInputChange(
|
||||||
JSON.stringify({
|
'setting',
|
||||||
force_format: true
|
JSON.stringify({
|
||||||
}, null, 2)
|
force_format: true
|
||||||
);
|
}, null, 2)
|
||||||
}}
|
);
|
||||||
>
|
}}
|
||||||
{t('填入模板')}
|
>
|
||||||
</Typography.Text>
|
{t('填入模板')}
|
||||||
|
</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user