This commit is contained in:
tangly1024.com
2023-03-13 12:28:40 +08:00
parent 4379787332
commit 9bb490508b

View File

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