Showing
1 changed file
with
1 additions
and
1 deletions
@@ -41,7 +41,7 @@ yoho = { | @@ -41,7 +41,7 @@ yoho = { | ||
41 | isNowApp: /yohonow/i.test(navigator.userAgent || ''), | 41 | isNowApp: /yohonow/i.test(navigator.userAgent || ''), |
42 | isMarsApp: /YohoMars/i.test(navigator.userAgent || ''), | 42 | isMarsApp: /YohoMars/i.test(navigator.userAgent || ''), |
43 | isYohoApp: /YohoBuy/i.test(navigator.userAgent || ''), | 43 | isYohoApp: /YohoBuy/i.test(navigator.userAgent || ''), |
44 | - isMiniApp: /miniProgram/i.test(navigator.userAgent || '') || qs.client_type === 'miniapp', | 44 | + isMiniApp: /miniProgram/i.test(navigator.userAgent || '') || qs && qs.client_type === 'miniapp', |
45 | isApp: /YohoMars/i.test(navigator.userAgent || '') || | 45 | isApp: /YohoMars/i.test(navigator.userAgent || '') || |
46 | /YohoBuy/i.test(navigator.userAgent || '') || | 46 | /YohoBuy/i.test(navigator.userAgent || '') || |
47 | /yohonow/i.test(navigator.userAgent || '') || | 47 | /yohonow/i.test(navigator.userAgent || '') || |
-
Please register or login to post a comment