1 |
- var u=(r,l,t)=>new Promise((e,i)=>{var d=a=>{try{n(t.next(a))}catch(s){i(s)}},_=a=>{try{n(t.throw(a))}catch(s){i(s)}},n=a=>a.done?e(a.value):Promise.resolve(a.value).then(d,_);n((t=t.apply(r,l)).next())});import{V as y,F as c,__tla as h}from"./index-b5895273.js";let o,f,m,p,F=Promise.all([(()=>{try{return h}catch(r){}})()]).then(()=>u(void 0,null,function*(){const{uploadUrl:r=""}=y();o=function(l){return c.uploadFile({url:r},l)},p=function(l,t){return c.uploadFile({url:"/system/oss/multi-upload?folderId="+t},l)},f="/system/oss/upload",m=function(l,t){return u(this,null,function*(){try{const e=yield o({name:"file",file:l,filename:t});return e&&e.fileUrl?e.fileUrl:""}catch(e){return""}})}}));export{F as __tla,o as a,f as b,m as c,p as u};
|