zhengyiming
2025-03-28 381c97332e567a1b95a9a5220275461d0ae3f74e
apps/taro/src/utils/env.ts
@@ -14,5 +14,5 @@
export const isMobile = isH5 || isWeChat || isApp;
export const isWeb = isH5 || isPC;
export const isInAlipay = /AlipayClient/i.test(navigator.userAgent);
export const isInWeChat = /MicroMessenger/i.test(navigator.userAgent);
export const isInAlipay = /AlipayClient/i.test(navigator?.userAgent);
export const isInWeChat = /MicroMessenger/i.test(navigator?.userAgent);