Merge branch 'super_signature'

pull/1/head
xiaoyu 4 years ago
commit a9b5e320c0
  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, //androiduc android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //androiduc
iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //iPhoneQQHD iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //iPhoneQQHD
iPad: u.indexOf('iPad') > -1, //iPad iPad: u.indexOf('iPad') > -1, //iPad
webApp: u.indexOf('Safari') == -1 //web webApp: u.indexOf('Safari') === -1, //web
macos: u.indexOf('Mac OS') > -1 && u.indexOf('Macintosh') > -1
}; };
}(), }(),
language: (navigator.browserLanguage || navigator.language).toLowerCase() language: (navigator.browserLanguage || navigator.language).toLowerCase()
@ -462,7 +463,11 @@
this.agent = 'wxapple'; this.agent = 'wxapple';
// //
} else { } 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, //androiduc android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //androiduc
iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //iPhoneQQHD iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //iPhoneQQHD
iPad: u.indexOf('iPad') > -1, //iPad iPad: u.indexOf('iPad') > -1, //iPad
webApp: u.indexOf('Safari') == -1 //web webApp: u.indexOf('Safari') === -1, //web
macos: u.indexOf('Mac OS') > -1 && u.indexOf('Macintosh') > -1
}; };
}(), }(),
language: (navigator.browserLanguage || navigator.language).toLowerCase() language: (navigator.browserLanguage || navigator.language).toLowerCase()
@ -443,7 +444,11 @@
this.agent = 'wxapple'; this.agent = 'wxapple';
// //
} else { } else {
this.agent = 'apple'; if(browser.versions.macos){
this.agent='';
}else {
this.agent = 'apple';
}
} }
} }

Loading…
Cancel
Save