05 2023 档案
判断浏览器是否为360极速模式
摘要:if (window.navigator.userAgent.indexOf('compatible') != -1) { alert('360兼容模式'); } if(window.navigator.userAgent.indexOf('AppleWebKit') != -1) { alert( 阅读全文
posted @ 2023-05-26 11:28 鄢宁 阅读(149) 评论(1) 推荐(0)
vue 根据后台给的链接点击直接下载
摘要://点击时的下载事件 async choseDownload(url) { let image = new Image() image.setAttribute('crossOrigin', 'anonymous') image.src = url image.onload = () => { le 阅读全文
posted @ 2023-05-12 15:17 鄢宁 阅读(50) 评论(0) 推荐(0)