只要页面中使用,点击页面就会报错,程序是ecshop 有人需要这个问题么,还是程序本身什么问题 $(document).on('click','[date-add-tr]',function () { var tr = $(this).parent('tr'); }); 查看完整描述