判断浏览器是否为360极速模式
摘要:if (window.navigator.userAgent.indexOf('compatible') != -1) { alert('360兼容模式'); } if(window.navigator.userAgent.indexOf('AppleWebKit') != -1) { alert(
阅读全文
posted @
2023-05-26 11:28
鄢宁
阅读(84)
推荐(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
鄢宁
阅读(36)
推荐(0) 编辑