$("div").on('click',function(){console.log('點擊了'+$(this).data('name'));})這段代碼如果用原生的寫應(yīng)該怎么寫
原生的js事件有問
繁華開滿天機
2019-04-21 20:38:43