From 791cf657b52173eb69f69506b0b8da341106f1b9 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 30 Jun 2024 15:09:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=20linux=20?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/setting/dependence.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/setting/dependence.tsx b/src/pages/setting/dependence.tsx index 1fc8b752..dddc5557 100644 --- a/src/pages/setting/dependence.tsx +++ b/src/pages/setting/dependence.tsx @@ -48,8 +48,9 @@ const Dependence = () => { pick(systemConfig, dataMap[path]), ) .then((res) => {}) - .catch((error: any) => { - console.log(error); + .catch(() => { + setLoading(false); + setLog((p) => `${p}update mirror error`); }); };