style:调整导出订单列表【删除】按钮禁用样式

This commit is contained in:
Apple 2023-01-03 10:47:50 +08:00
parent 916dfb3514
commit 1aa782c195
1 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ export default class downloadlist extends React.Component {
{ {
return <p> return <p>
<span className={rowData.status!=2?'grid-link disabled':'grid-link'} onClick={(e)=>this.exportFn(e,rowData)}>下载</span> <span className={rowData.status!=2?'grid-link disabled':'grid-link'} onClick={(e)=>this.exportFn(e,rowData)}>下载</span>
<span className={rowData.status==1?'grid-link ml15 disabled':'ml15 grid-link del-color'} onClick={(e)=>this.deleteFn(e,rowData)}>删除</span> <span className={rowData.status==1?'grid-link ml15 disabled':'ml15 grid-link'} onClick={(e)=>this.deleteFn(e,rowData)}>删除</span>
</p> </p>
} }
}}/> }}/>