我是用app加载的外部网页 在外网页中加载了mui.min.js 然后调用相关的方法
拍照上传用的这个方法```javascript
http://blog.csdn.net/zhuming3834/article/details/51582055
这是拍照获取路径的方法
```javascript
plus.io.resolveLocalFileSystemURL(e, function(entry) {
var s = entry.toLocalURL();
uploadHead(s); /*上传图片*/
}, function(e) {
console.log("读取拍照文件错误:" + e.message);
});
//文件路径
imgPath = file:///storage/0A0C-7C3A/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/doc/1480899380299.jpg at http://192.168.191.1:8081/wap-callcenter/resources/js/wap/index/thermometric.js:285
//异常信息
Not allowed to load local resource: file:///storage/0A0C-7C3A/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/doc/1480899380299.jpg at http://192.168.191.1:8081/wap-callcenter/index/toThermometric.do#page_thermometric_jobDetail:0
1 个回复
亦是非 (作者)