mirror of
https://github.com/PlayEdu/backend
synced 2025-06-23 04:32:45 +08:00
网站配置增加api访问地址配置
This commit is contained in:
parent
8171b16bc6
commit
e29744ea88
@ -52,6 +52,10 @@ const SystemConfigPage = () => {
|
||||
form.setFieldsValue({
|
||||
"system.api_url": configData[i].key_value,
|
||||
});
|
||||
} else if (configData[i].key_name === "system.api_url") {
|
||||
form.setFieldsValue({
|
||||
"system.api_url": configData[i].key_value,
|
||||
});
|
||||
} else if (configData[i].key_name === "system.pc_url") {
|
||||
form.setFieldsValue({
|
||||
"system.pc_url": configData[i].key_value,
|
||||
@ -275,6 +279,13 @@ const SystemConfigPage = () => {
|
||||
</div>
|
||||
</Form.Item>
|
||||
)}
|
||||
<Form.Item
|
||||
style={{ marginBottom: 30 }}
|
||||
label="API访问地址"
|
||||
name="system.api_url"
|
||||
>
|
||||
<Input style={{ width: 274 }} placeholder="请填写API访问地址" />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
style={{ marginBottom: 30 }}
|
||||
label="网站标题"
|
||||
@ -297,13 +308,7 @@ const SystemConfigPage = () => {
|
||||
placeholder="请填写网站页脚"
|
||||
/>
|
||||
</Form.Item>
|
||||
{/* <Form.Item
|
||||
style={{ marginBottom: 30 }}
|
||||
label="API访问地址"
|
||||
name="system.api_url"
|
||||
>
|
||||
<Input style={{ width: 274 }} placeholder="请填写API访问地址" />
|
||||
</Form.Item>
|
||||
{/*
|
||||
<Form.Item
|
||||
style={{ marginBottom: 30 }}
|
||||
label="PC端访问地址"
|
||||
|
Loading…
x
Reference in New Issue
Block a user