Merge branch 'main' into patch-01

This commit is contained in:
expoli
2023-03-13 12:20:03 +08:00
committed by GitHub
19 changed files with 256 additions and 228 deletions

View File

@@ -133,6 +133,8 @@ export const isMobile = () => {
if (!isBrowser()) {
return isMobile
}
// 这个判断会引发 TypeError: navigator.userAgentData.mobile is undefined 问题,导致博客无法正常工作
// if (!isMobile && navigator.userAgentData.mobile) {
// isMobile = true
// }