var zipfile = '_www/static/xxx.zip' // _www/static/xxx.zip
var targetPath = 'file:///storage/emulated/0/'; // /storage/emulated/0/
plus.zip.decompress(zipfile, targetPath,
(data) => {
console.log("Decompress success!");
},
(error) => {
console.log("Decompress error!" + JSON.stringify(error));
});
ninthocean
- 发布:2020-04-28 13:08
- 更新:2020-04-28 17:04
- 阅读:698
plus.zip.decompress 发现基座上没有问题,app上面不行。有没有谁遇到过?
分类:uni-app
1 个回复
DCloud_uni-ad_HDX
"app上面不行" 是什么意思?打包吗?