var upload = plus.uploader.createUpload(url+"&isGPSImg=1&enddate="+m[1],{method:"POST"},
function(r,status){
if (status == 200) {
if(r.responseText.indexOf("err:")<0){}
}
});
upload.addFile(path,{key:"file"});
try{
upload.start(); //此处代码一旦执行,APP直接崩溃
}catch(e){
console.log(e.message);
}
求列位大神帮忙看一下,这段代码有什么问题吗?
1 个回复
1***@qq.com
我现在也是这样