From 9bb490508bc10743c46012cadf6cf4ef6ef9dfc7 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Mon, 13 Mar 2023 12:28:40 +0800 Subject: [PATCH] build --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index a97c114a..82bfad5c 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -133,7 +133,7 @@ export const isMobile = () => { if (!isBrowser()) { return isMobile } - + // 这个判断会引发 TypeError: navigator.userAgentData.mobile is undefined 问题,导致博客无法正常工作 // if (!isMobile && navigator.userAgentData.mobile) { // isMobile = true