From a6d873f75b70ab5e1dc4a1e5fa610eddc7c9274e Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 17 十月 2025 18:30:23 +0800
Subject: [PATCH] fix: 简历

---
 packages/utils/LoggerRecord/index.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/utils/LoggerRecord/index.ts b/packages/utils/LoggerRecord/index.ts
index 365fba0..b3552b9 100644
--- a/packages/utils/LoggerRecord/index.ts
+++ b/packages/utils/LoggerRecord/index.ts
@@ -69,6 +69,6 @@
     };
   },
   getPageUrl() {
-    return Taro.getCurrentInstance().router.path;
+    return Taro.getCurrentInstance()?.router?.path ?? '';
   },
 });

--
Gitblit v1.9.1