♻️ refactor: 禁用key批次详情日志按钮

This commit is contained in:
wangsongsole 2023-12-06 14:22:39 +08:00
parent a42f42faaa
commit d505df314c
2 changed files with 7 additions and 5 deletions

View File

@ -619,7 +619,9 @@ export default class acclist extends React.Component {
<Menu onClick={(e, key) => this.menuItemClick(e, key, rowData)}> <Menu onClick={(e, key) => this.menuItemClick(e, key, rowData)}>
<MenuItem key="1">标记成已使用</MenuItem> <MenuItem key="1">标记成已使用</MenuItem>
<MenuItem key="2">作废</MenuItem> <MenuItem key="2">作废</MenuItem>
<MenuItem key="3">日志</MenuItem> <MenuItem key="3" disabled>
日志
</MenuItem>
</Menu> </Menu>
</DropdownContent> </DropdownContent>
</Dropdown> </Dropdown>
@ -646,7 +648,9 @@ export default class acclist extends React.Component {
<MenuItem key="2" disabled={rowData.status != 2}> <MenuItem key="2" disabled={rowData.status != 2}>
作废 作废
</MenuItem> </MenuItem>
<MenuItem key="3">日志</MenuItem> <MenuItem key="3" disabled>
日志
</MenuItem>
</Menu> </Menu>
</DropdownContent> </DropdownContent>
</Dropdown> </Dropdown>

View File

@ -754,9 +754,7 @@ const UseKeyList = () => {
> >
作废 作废
</MenuItem> </MenuItem>
<MenuItem key="3" disabled> <MenuItem key="3">日志</MenuItem>
日志
</MenuItem>
</Menu> </Menu>
</DropdownContent> </DropdownContent>
</Dropdown> </Dropdown>