You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/assets/upload.3f305180.js

2 lines
246 B

11 months ago
import{$ as e}from"./index-4ddb689d.js";const i=(i,a=!0)=>new Promise(((t,o)=>{e.urlFileUpload({name:"file",files:i,maxSize:2097152,data:{test:123,checkLogin:Number(a)}}).then((e=>t(e.map((e=>e.data.fileInfo.file_id)),e))).catch(o)}));export{i};