From 7c3e94ae52734a9a62020aa082256cde6c55a919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 12 Feb 2020 14:03:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/public/index.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/public/react/public/index.html b/public/react/public/index.html index 7da2b8d03..38fd550ab 100755 --- a/public/react/public/index.html +++ b/public/react/public/index.html @@ -17,8 +17,8 @@ - - + + @@ -44,13 +44,13 @@ window.__isR = true; // 不支持ie9 ie10 if ( - ( navigator.userAgent.indexOf('MSIE 9') != -1 + ( navigator.userAgent.indexOf('MSIE 9') != -1 || navigator.userAgent.indexOf('MSIE 10') != -1 ) - && + && location.pathname.indexOf("/compatibility") == -1) { debugger; // location.href = './compatibility' - location.href = '/compatibility.html' + location.href = '/compatibility.html' } // const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); const isWeiXin = (/MicroMessenger/i.test(navigator.userAgent.toLowerCase())); @@ -203,10 +203,10 @@ --> - + + + + +