|
@@ -150,17 +150,17 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
- const userAgent = navigator.userAgent // 取得浏览器的userAgent字符串
|
|
|
- const isIE = window.ActiveXObject || 'ActiveXObject' in window
|
|
|
- const isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf('rv:11.0') > -1
|
|
|
- if (isIE) {
|
|
|
- const reIE = new RegExp('MSIE (\\d+\\.\\d+);')
|
|
|
- reIE.test(userAgent)
|
|
|
- const fIEVersion = parseFloat(RegExp['$1'])
|
|
|
- if (userAgent.indexOf('MSIE 6.0') != -1 || fIEVersion < 11 || isIE11) {
|
|
|
- this.$router.push({ name: 'updateBrowser' })
|
|
|
- }
|
|
|
- }
|
|
|
+ // const userAgent = navigator.userAgent // 取得浏览器的userAgent字符串
|
|
|
+ // const isIE = window.ActiveXObject || 'ActiveXObject' in window
|
|
|
+ // const isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf('rv:11.0') > -1
|
|
|
+ // if (isIE) {
|
|
|
+ // const reIE = new RegExp('MSIE (\\d+\\.\\d+);')
|
|
|
+ // reIE.test(userAgent)
|
|
|
+ // const fIEVersion = parseFloat(RegExp['$1'])
|
|
|
+ // if (userAgent.indexOf('MSIE 6.0') != -1 || fIEVersion < 11 || isIE11) {
|
|
|
+ // this.$router.push({ name: 'updateBrowser' })
|
|
|
+ // }
|
|
|
+ // }
|
|
|
// get2step({ })
|
|
|
// .then(res => {
|
|
|
// this.requiredTwoStepCaptcha = res.result.stepCode
|