详细问题描述
[内容]
报 Uncaught TypeError: Cannot read property 'helper' of undefined
重现步骤
[步骤]
[结果]
[期望]
运行环境
[系统版本]
[浏览器版本]
[IDE版本]
HBuilder 8.0.2.201703061842
[mui版本] Mui v3.5.0
附件
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title></title>
</head>
<body>
</body>
<script src="js/mui.min.js"></script>
<script>
(function($, doc) {
$.init();
var server="http://demo.dcloud.net.cn/helloh5/uploader/upload.php";
$.plusReady(function() {
for(var i = 0; i < 3; i++) {
var task = plus.uploader.createUpload(server, { method: "POST" }, function(upload, status) {
console.log(JSON.stringify(upload));
plus.uploader.enumerate(function(x) {
//♂此处报 Uncaught TypeError: Cannot read property 'helper' of undefined
console.log(JSON.stringify(x));
});
});
task.addData('api_token', 'api_token' + i);
//task.addEventListener("statechanged", onStateChanged, false);
task.start();
}
});
}(mui, document));
</script>
</html>
[安装包]
联系方式
[QQ] 859898918
[电话]
1 个回复
BoredApe - 有问题就会有答案。
bug已确认 很快修复,感谢反馈