Showing
1 changed file
with
1 additions
and
1 deletions
@@ -21,7 +21,7 @@ const yoho = { | @@ -21,7 +21,7 @@ const yoho = { | ||
21 | /** | 21 | /** |
22 | * 判断是否是 APP | 22 | * 判断是否是 APP |
23 | */ | 23 | */ |
24 | - isApp: /yh_blk/i.test((navigator.userAgent || '').toLowerCase()), | 24 | + isApp: /yh_blk/i.test(navigator.userAgent || ''), |
25 | 25 | ||
26 | /** | 26 | /** |
27 | * JS 与 APP 共享的对象 | 27 | * JS 与 APP 共享的对象 |
-
Please register or login to post a comment