From e29744ea881178b77704a920456e9b25f9774b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Tue, 13 Jun 2023 11:01:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=AB=99=E9=85=8D=E7=BD=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0api=E8=AE=BF=E9=97=AE=E5=9C=B0=E5=9D=80=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/system/config/index.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/pages/system/config/index.tsx b/src/pages/system/config/index.tsx index dfb0c00..3d20988 100644 --- a/src/pages/system/config/index.tsx +++ b/src/pages/system/config/index.tsx @@ -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 = () => { )} +