取消 input file change监听文件(图片)上传事件多次触发
JQ用unbind原生用removeEventListener$("#box>.inner").onclick =function(){ function watch(){ for(let i=0,file;file=this.files[i++];){ let fileObj = uploadManger.add(upload_id,file.type,file.name,file.size) upload_id++ } this.removeE
原创
2020-05-12 11:36:15 ·
1054 阅读 ·
0 评论