From 2520c4d9099bf2dafb4eb12efb6ef2e02843adea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E5=AD=A6=E6=B3=A2?= Date: Mon, 29 Aug 2022 15:50:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sys/sysSettings/components/EnterpriseLog.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/sys/sysSettings/components/EnterpriseLog.jsx b/src/pages/sys/sysSettings/components/EnterpriseLog.jsx index 0132f66..afbe6e8 100644 --- a/src/pages/sys/sysSettings/components/EnterpriseLog.jsx +++ b/src/pages/sys/sysSettings/components/EnterpriseLog.jsx @@ -79,7 +79,9 @@ const EnterpriseLog = () => { }).then(response => { console.log('onSuccess', response, file); if (response.status == 200 || response.statusText == 'OK') { - setUrl(r.seeUrl) + setUrl(r.seeUrl); + CompanyInfo.logo = r.seeUrl; + updateCompany(CompanyInfo); } // onSuccess(response, file); })