vue框架IE浏览器提示下载firefox火狐浏览器
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>xx营销系统</title>
<script>
var userAgent = navigator.userAgent
console.log(userAgent)
if((userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1) || userAgent.indexOf("rv:11.0") > -1 || userAgent.indexOf('Edge') > -1) {
window.location.href = './static/Firefox-61.0.2-win64.exe'
}
</script>
</head>
<body>
<script src='<%= htmlWebpackPlugin.options.path %>/tinymce4.7.5/tinymce.min.js'></script>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
火狐安装包Firefox-61.0.2-win64.exe在项目static文件夹里面放着