原因:
vue中在style设置时使用scope属性
解决方法:
可采用局部与全局混写的方法
<style scope> //局部样式 </style> <style> //此处修改customClass样式 </style>