Commit 09c33dfc by zhaochengxiang

bug fix

parent a2703eb2
...@@ -1072,6 +1072,8 @@ const FC = (props) => { ...@@ -1072,6 +1072,8 @@ const FC = (props) => {
</PermissionButton> </PermissionButton>
<PermissionButton <PermissionButton
defaultPermission={distributeAble} defaultPermission={distributeAble}
disabled={(selectedRows??[]).length===0}
tip={(selectedRows??[]).length===0?'请先选择资源':''}
onClick={onDistributeTaskClick} onClick={onDistributeTaskClick}
> >
任务分配 任务分配
...@@ -1215,7 +1217,7 @@ const FC = (props) => { ...@@ -1215,7 +1217,7 @@ const FC = (props) => {
<div className='px-3'> <div className='px-3'>
<ResizeObserver <ResizeObserver
onResize={({ width }) => { onResize={({ width }) => {
setCompact(width < 1200) setCompact(width < 1250)
}} }}
> >
<Table <Table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment