ant design vue table 使用rowClassName隔行换色



methods: {
    rowClassName(record,index) {
      let className = "light-row";
      if (index % 2 === 1) className = "dark-row";
      return className;
    },
}

 

你可能感兴趣的:(vue.js,ant,design,vue)