在以上代码中,我们使用 file(name, data [,options]) 方法,把目录中的文件依次添加到zip 对象中,然后再通过 generateAsync 方法来生成ZIP 文件。
確定! 回上一頁