Browse Source

控制台ico

dev
wenlele 2 years ago
parent
commit
8801580dee
  1. 14
      web/client/src/layout/components/header/index.jsx

14
web/client/src/layout/components/header/index.jsx

@ -39,12 +39,12 @@ const Header = (props) => {
text: ( text: (
<> <>
<SplitButtonGroup style={{ marginLeft: 10 }} aria-label="项目操作按钮组"> {/* <SplitButtonGroup style={{ marginLeft: 10 }} aria-label="项目操作按钮组"> */}
<Button theme="solid" type="primary" style={{ width: 52, height: 24, background: '#005ABD' }}>全局</Button> <Button theme="solid" type="primary" style={{ width: 52, height: 24, background: '#005ABD' }}>全局</Button>
<Dropdown onVisibleChange={(v) => { }} menu={{}} trigger="click" position="bottomRight"> {/* <Dropdown onVisibleChange={(v) => { }} menu={{}} trigger="click" position="bottomRight"> */}
<Button style={{ width: 16, height: 24, background: '#005ABD' }} theme="solid" type="primary" icon={<IconTreeTriangleDown />}></Button> <Button style={{ width: 16, height: 24, background: '#005ABD' }} theme="solid" type="primary" icon={<IconTreeTriangleDown />}></Button>
</Dropdown> {/* </Dropdown> */}
</SplitButtonGroup> {/* </SplitButtonGroup> */}
</> </>
), ),
}} }}
@ -67,10 +67,10 @@ const Header = (props) => {
} }
else { else {
return ( return (
<> <div key='console' style={{display:'inline-flex'}}>
<img src="/assets/images/background/console.png" style={{ width: 24, marginRight: 10 }} /> <img src="/assets/images/background/console.png" style={{ width: 24, marginRight: -10 }} />
<Nav.Item key={index + 'a'} itemKey={item.itemKey} text={item.text} onClick={() => { tochange(item) }} /> <Nav.Item key={index + 'a'} itemKey={item.itemKey} text={item.text} onClick={() => { tochange(item) }} />
</> </div>
) )
} }

Loading…
Cancel
Save