Authored by 陈峰

fix miniapp login

... ... @@ -41,7 +41,7 @@ yoho = {
isNowApp: /yohonow/i.test(navigator.userAgent || ''),
isMarsApp: /YohoMars/i.test(navigator.userAgent || ''),
isYohoApp: /YohoBuy/i.test(navigator.userAgent || ''),
isMiniApp: /miniProgram/i.test(navigator.userAgent || '') || qs.client_type === 'miniapp',
isMiniApp: /miniProgram/i.test(navigator.userAgent || '') || qs && qs.client_type === 'miniapp',
isApp: /YohoMars/i.test(navigator.userAgent || '') ||
/YohoBuy/i.test(navigator.userAgent || '') ||
/yohonow/i.test(navigator.userAgent || '') ||
... ...