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