super_signature
xiaoyu 6 years ago
parent ffcc4efd89
commit 58b1fd06ac
  1. 9
      fir_client/src/components/FirDownload.vue
  2. 9
      fir_download/src/components/FirDownload.vue

@ -451,7 +451,8 @@
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器
iPad: u.indexOf('iPad') > -1, //是否iPad
webApp: u.indexOf('Safari') == -1 //是否web应该程序,没有头部与底部
webApp: u.indexOf('Safari') === -1, //是否web应该程序,没有头部与底部
macos: u.indexOf('Mac OS') > -1
};
}(),
language: (navigator.browserLanguage || navigator.language).toLowerCase()
@ -462,7 +463,11 @@
this.agent = 'wxapple';
//微信
} else {
this.agent = 'apple';
if(browser.versions.macos){
this.agent='';
}else {
this.agent = 'apple';
}
}
}

@ -432,7 +432,8 @@
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器
iPad: u.indexOf('iPad') > -1, //是否iPad
webApp: u.indexOf('Safari') == -1 //是否web应该程序,没有头部与底部
webApp: u.indexOf('Safari') === -1, //是否web应该程序,没有头部与底部
macos: u.indexOf('Mac OS') > -1
};
}(),
language: (navigator.browserLanguage || navigator.language).toLowerCase()
@ -443,7 +444,11 @@
this.agent = 'wxapple';
//微信
} else {
this.agent = 'apple';
if(browser.versions.macos){
this.agent='';
}else {
this.agent = 'apple';
}
}
}

Loading…
Cancel
Save