vue + el-table 加星标 且循环验证必填

  

                  :key="tableKeyAdd"

                  :data="temp.schedulRulesItemList"

                  :header-cell-class-name="star"

                >

                  

                    

                      

                        

                          

                        

                      

                    

                  

                  

     


star({ row, rowIndex, column, columnIndex }) {

      if (columnIndex === 1 ) {

        return 'star'

      }

    }

```

你可能感兴趣的:(vue + el-table 加星标 且循环验证必填)