vue ref 设定 class

this.$refs[pri][0].setAttribute("class", "xxxx xxxxx");
posted @ 2022-05-15 20:52  人间春风意  阅读(1272)  评论(0)    收藏  举报