li? ???? ?? ??? li? html ?? ?? ? ????.
li? ??? ? ??? this? li ??? ?? ? ??? ????? ??? ?? ? ????. ?? li ??? js? ???? ??? ??????
??? ?? ?? ?????. ??? ? ?? ???? ?? ???? ????.
??? ???? ?? ??? ??? ????? ?? ?? $event
????? ????? ?? ???. ???:
??li
標(biāo)簽的對(duì)象,讀取事件對(duì)象下的currentTarget
屬性就行了,即event.currentTarget
? ??? ???.
li? ref ??? ??? ?? ???? this.$refs? ?? dom ??? ?????