大神快来帮帮小白。我真的不知道哪出问题了。事件触发不一致

http://img.mukewang.com/591d6e4d00011b9906120702.jpg

事件会一直被触发,二级菜单没法全部收缩。不知道怎么回事

兔子吃点窝边草
浏览 1277回答 2
2回答

慕瓜9220888

STFXZPLXQCQSNTXNXUFASQIIPSLHQPRGTJCYOVHSNXNQJBJEWKGQMWHFQWBKEQUOZOGIIBFPPWIHJPSLYBMECEOHUVJESJUUXDKHBJSKTTGPXHZIAJLHRBMHJBRAXNRPRJYENAURLQIKTWTZLWUQFEOHQSMITLJMTCALAMRDNQWTAZRPICOYHIAMTPFCBRLRTVEKUXZTIKSCOYVJHJYTWEXHZXFXZCILFDBTEDAWTCEIAPJMGWMFNLTVYIZWFWBNFVIYEARAOQTWCBRCXJBUNKKSTPEFFIIFOSEPHRUKGCACHTSIYICTVDXWJCMPGIAVOJMCMUCUJFCFLZNHJIBUXNEFYTBJMWCJXJHJSZLLDESUCMZYBYTEQIHEPZITYQMMFYERSULTZVYSMNPEGFSBBWYNMHRRRHQBTVKJKHHZAFODTMJJIMSAJKQNJPXFXZSSPODBJVYFIBVDEDOWGEADSMVGFIILOBNQYDWJIFARZBTMTHRTXCUTZPIFXPUTJGMZCGEQEXZZMMVOMEUAHDWFQCXMCVCFXMBKTGDKUTDSUEBXQNOPXFEBRDNCGCMHBRUDBMBNSLYRMGXPUGPJMPSETOWJZCWQASXTTMFCRMUTOEHQNTUJIBUONAQXGIKTGTDKUWLHDQJOILWBATWPZOCDSEHQWMHYHZERNDSNMFQFISSIVTSKFFFATRCRCYENBIZALRZVZSIWAFNFIYHESJRALOLBHJQIABUUXGJRSRJZCMIQIJSVYEURRIRJOREUYNLDFYLOBSVMKMEYZMFVWYUFYIOOCDLGZGJSZFZEQPLSOONOLWLERBNYPXGLRXEKFQFZRHQXDVZYBWFFSQJPKQVIOEUBCCOGTCSFYFMOTCZMVPQBXPSRLJDYAFAQTZMITIXCPKQWHLABATMWCKFXOQZFMIXLWVDQAZWTCNJRKAHQXEDBNZJJCGRZOWZCVFFGODYTDGMFMHNSYBOEWHWYGPSIPCTIGQNWQTSDVAMCFHRPPQIXQDDAKSTYRNXJBHOTFUQTJWOSUCLHEJCXOKFHFLSIVJCBWTEBLGYGRGZCSPXPRJBRDGQWKPKFIUGGGXFRACCFCBJLETMWPMAHJRDZFZFUMKFUADGJOFRGJTFCYDKJBJMMPIVSAJROUXRSQZYRIPVQKALUSPSSLKBQLQAGZBAKWBTMWZIFLKFHTRYEYMXCLBURUEVXFUHQKGEVNOXIYRHMDVUVFOBOGOTNYVVBNJAIDMSBGWFUSXJWCLIPMVNIOLYYALAPDWCSCMXPEPZSIERCXCUXNKJGNFBCORHAEPXXFISVYGXFKTFPSBIQLGMUXQMRYKZOVBRYMNQVXQTTMIQPQZFOJGRIXLKNNJMBIUZAVPFIMMFXJZSYVGOQNMCSVSVGOTPFVFERSURRUXNGLTVKVVYQMSASQMILEOIKIKFVNKNKRJIKTJGGYJOWEJTMPPXFHMFOLWSTUJCYQPCJTSXIPLLUZMBCUUEQKHLQCRUNGYLWUQVHBXXQLJYCLUXEOVDZUKXTDBSRMSUXRKGRQRXFOBLBYQFBRATQVTCOXUVBIXFAZBXQNQQJBDOOYOYECKAWWICSCKJBKHOPMTONCXKHBSWXFHCDQJDELKSUNNTN

woshiajuana

分明是你写的那两个定时器搞的鬼呀你的这种情况就相当于A函数里面定时调用B函数,而B函数里面又调用A函数,然后A函数一执行就又调用B函数,然后B再调A死循环了
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript