通过$ref设置样式

 let inner = this.$refs.inner
      inner.$el.style.borderBottom = `1px solid #1890ff`
原文地址:https://www.cnblogs.com/xiaoxiaoxun/p/14277911.html