漠
  • 发布:2017-12-06 15:32
  • 更新:2017-12-06 15:32
  • 阅读:986

【报Bug】copyTo 执行出错

分类:HTML5+

代码如下:
[代码片段]

function getpor (){  
		plus.gallery.pick(function(e){  
			console.log(sg("src")+"img");  
			console.log(e);  
			read(e,function(en){  
				console.log(en.name)  
				en.copyTo(sg("src"),en.name+"23",function(ent){  
					mui.toast("复制成功")  
					lcb(".por").style.backgroundImage = "url("+ ent.fullPath +")";  
					sg("userPor",ent.fullPath)  
				},function(e){  
					for(var k in e){  
						console.log(e[k])  
					}  
					mui.toast("复制失败")  
				})  
			})  
		})  
	}

反馈如下
/storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/doc/img at user.html:118
file:///storage/emulated/0/tencent/MicroMsg/WeiXin/mmexport1511580111970.webp at user.html:119
mmexport1511580111970.webp at user.html:121
10 at user.html:128
执行出错 at user.html:128
最后两行是for循环打印出来的。
HBuilder是最新版的
手机是安卓6.0的,已经信任软件,不错在权限问题,试过很多img文件,包括jpg与png,git等,全部失败

如果不是BUG

联系方式
[QQ] 690871024
[电话]

2017-12-06 15:32 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复