From 8834f7eddf0d1c1d91e529947d6185ef681a2bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=A2=E6=B5=A9=E4=B8=9C?= <975115611@qq.com> Date: Thu, 6 Feb 2025 13:09:23 +0800 Subject: [PATCH] 22 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 邢浩东 <975115611@qq.com> --- src/router/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ebdc94c..05a4b0c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -116,9 +116,7 @@ const setupDynamicRoutes = async () => { redirect: '/404', // 重定向到 404 页面 }); return res; - } catch (error) { - console.error(error); - } + } catch (error) {} }; // 路由守卫 -- Gitee