...
|
...
|
@@ -41,6 +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',
|
|
|
isApp: /YohoMars/i.test(navigator.userAgent || '') ||
|
|
|
/YohoBuy/i.test(navigator.userAgent || '') ||
|
|
|
/yohonow/i.test(navigator.userAgent || '') ||
|
...
|
...
|
@@ -166,6 +167,9 @@ yoho = { |
|
|
},
|
|
|
|
|
|
goLogin: function(refer, data) {
|
|
|
if (this.isMiniApp) {
|
|
|
return false;
|
|
|
}
|
|
|
let url;
|
|
|
|
|
|
if (refer.indexOf('//') === 0) {
|
...
|
...
|
|