1.ios不支持window.open(),要创建a链接 let elink = document.createElement('a'); elink.href = baseURL+'/onlineContract/downloadPdf2'+'?custId='+this.$route.query Read More
摘要:前端的性能对于Web应用的用户体验来说非常重要。不要以为你的Web应用的性能已经足够好了,其实还会有很多可以提升的地方。本文将介绍Google和雅虎关于前端优化的最佳实践以及工具,你可以逐一检验你的Web应用。 前端的性能对于一个Web应用来说非常重要,如果一个Web应用的页面加载速度非常快、 Read More
Q:我用cordova开发项目,想在app内跳转外部链接,安装了cordova-plugin-inappbrowser后确实可以跳转,但是跳转的页面有个按钮,原本点击会下载app,现在点击后毫无反应,求大神解惑。 A:已经找到解决办法了,把cordova.InAppBrowser.open的打开网页 Read More
var a=[1,2,3,5]; alert(Math.max.apply(null, a));//最大值 alert(Math.min.apply(null, a));//最小值 var a=[1,2,3,5]; alert(Math.max.apply(null, a));//最大值 alert Read More