var url = '/plus/camera_image.html';
var w = plus.webview.create(url,url,{hardwareAccelerated:true,scrollIndicator:'none',scalable:true,bounce:'all',test:"test"});
w.addEventListener('loaded',function(){
w.evalJS('loadMedia("'+hashMap.get(id1)+'","'+photoPosi+'","'+photoAll[woIndex]+'")');
},false);
w.show('pop-in');
//photoAll[woIndex]是一个json值
function loadMedia(src,aaa,photoAll){
document.getElementById('img').src=src;
document.getElementById('title').innerText=aaa;
alert(window.JSON.stringify(photoAll));
}
传递到第二个页面打印window.JSON.stringify(photoAll) 值是“[object Object]”
为什么?