vue中使用this.$refs.name.style获取到的是内敛的样式,非css样式 请教各位要获取在css中写的样式要如何操作? 例如background-color。 麻烦知道的写出代码,别只说用哪个属性,太模糊了。