$refs获取节点设置元素样式

this.$refs.refName.$el.style.opacity = '0.5'

  

posted @ 2020-09-02 17:18  baixinL  阅读(2547)  评论(0)    收藏  举报