import { getFileAccessHttpUrl } from '@/api/manage' const getFileName=(path)=>{ if(path.lastIndexOf("\\")>=0){ let reg=new RegExp("\\\\","g"); path = path.replace(reg,"/"); } return path.substring(path.lastIndexOf("/")+1); } const uidGenerator=()=>{ return '-'+parseInt(Math.random()*10000+1,10); } const getFilePaths=(uploadFiles)=>{ let arr = []; if(!uploadFiles){ return "" } for(let a=0;a0){ return arr.join(",") } return "" } const getUploadFileList=(paths)=>{ if(!paths){ return []; } let fileList = []; let arr = paths.split(",") for(let a=0;a