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