vue通过jquery方式获取元素

this.$('.calssName')

拼接获取元素

let jointClass =".ivu-table-tbody tr:nth-child("+index+") td input"
this.$(jointClass).addClass('addBorder')
posted @ 2019-09-03 10:11  苏小白啊  阅读(2788)  评论(0编辑  收藏  举报