el-table带状态表格样式不生效

956 阅读1分钟

以下写法无效:

<style lang="scss" scoped>
   .warning-row {
      background: oldlace;
   }
</style>

修改后:

<style lang="scss" scoped>
   /deep/.warning-row {
      background: oldlace;
   }
</style>