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>}>
<div style={{}} >
<div onClick={() => {
console.log(v.pepProjectId);
setPomsName(v.pepProjectName)
setPepProjectId(v.id)
setPepProjectId(v.pepProjectId)
}}>
{v.pepProjectName?.length > 15 ? `${v.pepProjectName?.substr(0, 15)}` : v.pepProjectName}
</div>

Loading…
Cancel
Save