如圖:$('.cancel').click(function(){ popout(); var kc = $(this).parents('.order').index(); $('.popbottom').find('span:last').click(function(e){ pophide(); console.log(kc); $('.order:eq('+kc+')').remove(); }) });
為什么內部函數會執行多次?
慕的地6264312
2019-02-15 19:20:33