//隔行变色
::v-deep .ant-table-tbody .ant-table-row:nth-child(odd) {
  background-color: ;
}
::v-deep .ant-table-tbody .ant-table-row:nth-child(even) {
  background: ;
}
// 标题背景色用important
::v-deep .ant-table-thead > tr > th {
  padding-left: px;
  font-size: px;
  color: ;
  background: # !important;
}
//设置padding
::v-deep .ant-table-body {
  padding-left: px;
}

}
//更新时间的排序
computed:{
columns () {
const columns = {
 {
          title: '时间',
          dataIndex: 'updateTime',
          key: 'updateTime',
          sorter: (a, b) => {
            console.log('00000', Date.parse(a.updateTime), b)
            return Date.parse(a.updateTime) - Date.parse(b.updateTime)
          }
        },
        },
        return columns
        }

//:title
 <a-tooltip placement="topLeft" :title="record.orgName" arrow-point-at-center>

          {{record.orgName}}
          </a-tooltip>
Logo

前往低代码交流专区

更多推荐