♻️ refactor: 现在计划删除

This commit is contained in:
wangsongsole 2023-08-30 16:44:53 +08:00
parent 0299306262
commit d15c994b37
1 changed files with 25 additions and 12 deletions

View File

@ -761,18 +761,31 @@ export default class acclist extends React.Component {
return <span className="grid-link disabled">更多</span> return <span className="grid-link disabled">更多</span>
} }
case 4: case 4:
return ( if (rowData.order_num === 0) {
<span return (
className="grid-link" <span
style={{ className="grid-link"
color: "red", style={{
paddingRight: 0 color: "red",
}} paddingRight: 0
onClick={() => this.menuItemClick(4, rowData)} }}
> onClick={() => this.menuItemClick(4, rowData)}
删除 >
</span> 删除
) </span>
)
} else {
return (
<span
className="grid-link disabled"
style={{
paddingRight: 0
}}
>
删除
</span>
)
}
} }
} }