...
|
...
|
@@ -36,7 +36,7 @@ const yoho = { |
|
|
/**
|
|
|
* 判断是否是 APP
|
|
|
*/
|
|
|
isApp: /yh_blk/i.test(navigator.userAgent || '') || /YH_BLK/i.test(navigator.userAgent || ''),
|
|
|
isApp: /YohoBuy/i.test(navigator.userAgent || '') || /YohoBuy/i.test(navigator.userAgent || ''),
|
|
|
isiOS: /\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(navigator.userAgent || ''),
|
|
|
isAndroid: /Android/i.test(navigator.userAgent || ''),
|
|
|
isYohoBuy: isYohoBuy,
|
...
|
...
|
|