Browse Source

全局选择修改

dev
wenlele 2 years ago
parent
commit
acb877b74d
  1. 3
      web/client/src/layout/components/header/index.jsx

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

@ -115,9 +115,8 @@ const Header = (props) => {
v.pepProjectName?.length > 15 ? <Tooltip content={<div>{v.pepProjectName}</div>}> v.pepProjectName?.length > 15 ? <Tooltip content={<div>{v.pepProjectName}</div>}>
<div style={{}} > <div style={{}} >
<div onClick={() => { <div onClick={() => {
console.log(v.pepProjectId);
setPomsName(v.pepProjectName) setPomsName(v.pepProjectName)
setPepProjectId(v.id) setPepProjectId(v.pepProjectId)
}}> }}>
{v.pepProjectName?.length > 15 ? `${v.pepProjectName?.substr(0, 15)}` : v.pepProjectName} {v.pepProjectName?.length > 15 ? `${v.pepProjectName?.substr(0, 15)}` : v.pepProjectName}
</div> </div>

Loading…
Cancel
Save