el-table里面如何针对不同数据做颜色区分

  
    
  

  colorObj: {
    waitbuyerpay: '#FAAD14',
    waitsellersend: '#1890FF',
    waitbuyerreceive: '#602266',
    confirm_goods: '#602266',
    success: '#13CE66',
    cancel: '#999',
    terminated: '#FF4848',
    confirm_goods_but_not_fund: '#602266'
  },

你可能感兴趣的:(el-table里面如何针对不同数据做颜色区分)