分针网——每日分享:Vue2中ref属性的用法

本文转自:http://www.f-z.cn/id/229 最近写东西遇到了莫名其妙的问题,用ref属性原以为它会获得一个数组 // html <ul>    <li ref="refCon">1 </li>    <li ref="refCon">2 </li> </ul> // js created : function ( ) {    this . $nextTick ( ( ) = >
相关文章
相关标签/搜索