dir.myu
//删除文件
fn delfile(path)
fi(path,isdir)
f(isdir)
{
fl(path,dir)
for(dir;dir)
{
ss(path+"/"+dir,newpath)
fn dir.delfile(newpath)
fd(newpath,del)
}
fd(path,del)
}
end fn
dir.myu
//删除文件
fn delfile(path)
fi(path,isdir)
f(isdir)
{
fl(path,dir)
for(dir;dir)
{
ss(path+"/"+dir,newpath)
fn dir.delfile(newpath)
fd(newpath,del)
}
fd(path,del)
}
end fn
本文标题:iApp-v3 删除文件夹
本文链接:https://www.haomeiwen.com/subject/skjdmctx.html
网友评论