diff --git a/mall-shop/src/main/resources/static/diy/js/diy.js b/mall-shop/src/main/resources/static/diy/js/diy.js index 0d826996..c439732b 100644 --- a/mall-shop/src/main/resources/static/diy/js/diy.js +++ b/mall-shop/src/main/resources/static/diy/js/diy.js @@ -18114,6 +18114,7 @@ s = $input.attr('imgSize') || 0,//4583 a = $input.attr('fileId') || 0,//4584 e = $input.attr('uptype') || 0;//4585 + var id=$input.attr('id'); var msType= $input.attr('msType');//msType4522 // $(n[_x41903[476]])[_x41903[217]](_x41903[4522]);//msType4522 if (1 == e) { @@ -18125,16 +18126,23 @@ // }, $(n[_x41903[476]])[_x41903[217]](_x41903[4583])); // }); if (s) { - l.pageList.forEach((e,t)=>{ - console.log("e.Id---"+e.Id); - console.log("e.Id---"+t[_x41903[4453]]); - console.log(e.Id===a); - if(e.Id == a){ - publicFun[_x41903[4586]]($(n[_x41903[476]])[_x41903[217]](_x41903[124]), function(e) { - if(250 == e[_x41903[686]]){ - $[_x41903[2030]][_x41903[4089]](e[_x41903[4587]] || __(_x41903[4588])); + l.pageList.forEach((el,t)=>{ + console.log("el.Id---"+el.Id); + console.log("el.Id---"+t[_x41903[4453]]); + if(el.Id == a){ + // publicFun[_x41903[4586]]($(n[_x41903[476]])[_x41903[217]](_x41903[124]), function(e) { + // if(250 == e.status){ + // $.dialog.alert("上传发生错误"); + // // $[_x41903[2030]][_x41903[4089]](e[_x41903[4587]] || __(_x41903[4588])); + // } + // el.ShareImg = e.data.url; + // c(); + // }, s); + publicFun.uploadImage(id, function(e) { + if(250 == e.status){ + $.dialog.alert("上传发生错误"); } - t[_x41903[4589]] = e[_x41903[473]][_x41903[688]]; + el.ShareImg = e.data.url; c(); }, s); }