|
|
|
|
@ -64,29 +64,29 @@ const ActionBar: React.FC<ActionBarProps> = ({
|
|
|
|
|
日志
|
|
|
|
|
</Button>
|
|
|
|
|
</ButtonGroup>
|
|
|
|
|
<ButtonGroup style={{ marginLeft: 15 }}>
|
|
|
|
|
<Button
|
|
|
|
|
type="outline"
|
|
|
|
|
shape="round"
|
|
|
|
|
icon={<IconUndo />}
|
|
|
|
|
onClick={onUndo}
|
|
|
|
|
disabled={!canUndo}
|
|
|
|
|
status="danger"
|
|
|
|
|
style={{ padding: '0 8px', backgroundColor: '#fff' }}
|
|
|
|
|
>
|
|
|
|
|
撤销
|
|
|
|
|
</Button>
|
|
|
|
|
<Button
|
|
|
|
|
type="outline"
|
|
|
|
|
shape="round"
|
|
|
|
|
icon={<IconRedo />}
|
|
|
|
|
onClick={onRedo}
|
|
|
|
|
disabled={!canRedo}
|
|
|
|
|
style={{ padding: '0 8px', backgroundColor: '#fff' }}
|
|
|
|
|
>
|
|
|
|
|
重做
|
|
|
|
|
</Button>
|
|
|
|
|
</ButtonGroup>
|
|
|
|
|
{/*<ButtonGroup style={{ marginLeft: 15 }}>*/}
|
|
|
|
|
{/* <Button*/}
|
|
|
|
|
{/* type="outline"*/}
|
|
|
|
|
{/* shape="round"*/}
|
|
|
|
|
{/* icon={<IconUndo />}*/}
|
|
|
|
|
{/* onClick={onUndo}*/}
|
|
|
|
|
{/* disabled={!canUndo}*/}
|
|
|
|
|
{/* status="danger"*/}
|
|
|
|
|
{/* style={{ padding: '0 8px', backgroundColor: '#fff' }}*/}
|
|
|
|
|
{/* >*/}
|
|
|
|
|
{/* 撤销*/}
|
|
|
|
|
{/* </Button>*/}
|
|
|
|
|
{/* <Button*/}
|
|
|
|
|
{/* type="outline"*/}
|
|
|
|
|
{/* shape="round"*/}
|
|
|
|
|
{/* icon={<IconRedo />}*/}
|
|
|
|
|
{/* onClick={onRedo}*/}
|
|
|
|
|
{/* disabled={!canRedo}*/}
|
|
|
|
|
{/* style={{ padding: '0 8px', backgroundColor: '#fff' }}*/}
|
|
|
|
|
{/* >*/}
|
|
|
|
|
{/* 重做*/}
|
|
|
|
|
{/* </Button>*/}
|
|
|
|
|
{/*</ButtonGroup>*/}
|
|
|
|
|
</>
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
|