From f485d7c2be4d8f74cd23b9ae9d8035b4f193e925 Mon Sep 17 00:00:00 2001 From: luoluo <1425735414@qq.com> Date: Mon, 8 Jan 2024 11:22:10 +0800 Subject: [PATCH] =?UTF-8?q?catch=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/renderer/src/main/src/components/layout/UILayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/renderer/src/main/src/components/layout/UILayout.tsx b/app/renderer/src/main/src/components/layout/UILayout.tsx index 3182c0a406..b1a0c8c54d 100644 --- a/app/renderer/src/main/src/components/layout/UILayout.tsx +++ b/app/renderer/src/main/src/components/layout/UILayout.tsx @@ -954,7 +954,7 @@ const UILayout: React.FC = (props) => { // 获取操作系统、架构、Yakit 版本、Yak 版本 ipcRenderer.invoke("fetch-local-basic-info").then((data: LocalInfoProps) => { setLocalInfo(data) - }) + }).catch(()=>{}) }, []) useEffect(() => { // 用户退出 - 验证license=>展示企业登录