From f77c1253d4bc918a692bf57f7e900f88617f45b3 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:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 05a4b0c..be5e0e3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -116,7 +116,9 @@ const setupDynamicRoutes = async () => { redirect: '/404', // 重定向到 404 页面 }); return res; - } catch (error) {} + } catch (error) { + console.error(error, '3333'); + } }; // 路由守卫 -- Gitee