iphone11pro max不能触发绑定的事件,iphone部分机型可以,部分不行。安卓手机全部可以。
代码片段
wxml:
{{item.fileName}}
js:
downCrpFile(e){
let f8s,fileType
if(e.currentTarget){
f8s = e.currentTarget.dataset.url
fileType = e.currentTarget.dataset.extName
}else{
f8s = e
fileType = "pdf"
}
let parm = {f8s}
let sign = getUrl(parm,HmacSHA1,Base64)
console.log(parm,sign)
let url = app.globalData.cpyUrl
let reg = /(\jpeg|\png|\jpg)/i;
if (reg.test(fileType)){
this.downloadfile(`${url}/sys-storage/download_image?${sign}`)
}else{
this.downloadfile(`${url}/sys-storage/download?${sign}`)
}
}
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。