代码如下:
1 var method = ‘setRiskItemAmount_‘+id[1]+‘(id[0],id[2],this.value);‘; 2 console.log(method); 3 eval(method); 4 5 function setRiskItemAmount_1(index,bjmId,value){ 6 console.log(index); 7 console.log(bjmId); 8 console.log(value); 9 }
时间: 2024-10-13 16:21:11