'<button ID = "goToCD" type="button" onclick="goToCD(A,B)" class="mui-btn mui-btn-danger">'+data[i].name+'号桌-'+data[i].num+'人</button>';
document.getElementById("goToCD").addEventListener('tap', function() {
如何获取传参的值 goToCD(A,B)
});
'<button ID = "goToCD" type="button" onclick="goToCD(A,B)" class="mui-btn mui-btn-danger">'+data[i].name+'号桌-'+data[i].num+'人</button>';
document.getElementById("goToCD").addEventListener('tap', function() {
如何获取传参的值 goToCD(A,B)
});
0 个回复