所属者选择更新样式

This commit is contained in:
lyp 2025-03-13 16:54:29 +08:00
parent 8eb5ee2320
commit dfc13a8b88

View File

@ -988,6 +988,21 @@ export default function Index() {
}, []); }, []);
useEffect(() => { useEffect(() => {
// loactionStorage里的activeMenu
if (location.pathname == '/') {
nav('/home', {
state: {
keyword: keywords,
type: type,
chargeAdditionals: chargeAdditionals,
tagDataId: tagDataId,
authorId: authorId,
payStatus: payStatus,
projRemindId: projRemindId,
// tagNot
}
})
}
if (location.pathname.includes('/home')) { if (location.pathname.includes('/home')) {
nav('/home', { nav('/home', {
state: { state: {
@ -1522,7 +1537,8 @@ export default function Index() {
overflow: 'hidden', overflow: 'hidden',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
}}></Input> }}
></Input>
<div <div
title={authorName} title={authorName}
style={{ style={{