let file=imgArr[i]
plus.io.resolveLocalFileSystemURL(file, function(entry) {
plus.io.resolveLocalFileSystemURL('_doc/', function(root) {
entry.copyTo(root, '', function(result) {
console.log(JSON.stringify(result));
}, function(error) {
console.log(error);
});
}, function(error) {
console.log(error);
});
}, function(error) {
console.log(error);
});
![1***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/c55b176d5a69bd07dbb35747902f9562.png)
1***@qq.com
- 发布:2021-05-31 14:41
- 更新:2024-07-01 15:52
- 阅读:1797
![1***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/c9930fb00e877f96927b7e820d723567.png)
报错这个 ,大佬们走过路过帮忙看一看{"type":"loadend","bubbles":false,"cancelBubble":false,"cancelable":false,"lengthComputable":false,"loaded":0,"total":0,"target":{"fileName":"/storage/emulated/0/countries-raster.mbtiles/countries-raster.mbtiles","readyState":2"result":null,"error":{"code":10,"message"∵:"执行错"},"onloadstart":null,"onprogress":null"onload":null,"onabort":null,"onerror":null)}
善妒的蝎子
加了时间戳依旧报上面那个错误,还有plus.io.resolveLocalFileSystemURL()可以嵌套使用?
2021-11-26 15:07
1***@qq.com
回复 善妒的蝎子: 大佬解决了吗,我也遇到该问题了,直接无法啊,这个官方文档也太老火了
2022-01-19 09:28
善妒的蝎子
回复 1***@qq.com: 解决了
2022-01-19 10:55