选择提醒按条件显示

This commit is contained in:
lyp 2024-12-24 16:18:18 +08:00
parent 9f24a01b1a
commit 382d5ac63b

View File

@ -990,9 +990,10 @@ export default function Index() {
{/* <div style={{display:'flex'}}> */} {/* <div style={{display:'flex'}}> */}
{/* <div style={{height:1000,width:6,background:'red',marginRight:-6,zIndex:99}}></div> */} {/* <div style={{height:1000,width:6,background:'red',marginRight:-6,zIndex:99}}></div> */}
<div className="left" > <div className="left" >
<div className='mediaBox' style={{ <div className='mediaBox' style={{
// height: '15px', width: '230px', // height: '15px', width: '230px',
background: 'white' }}></div> background: 'white'
}}></div>
<MenuWithTopButton <MenuWithTopButton
button={projMenu.button} button={projMenu.button}
list={projMenu.list} list={projMenu.list}
@ -1324,38 +1325,42 @@ export default function Index() {
/> />
<Select <div style={{
allowClear display:remindTagArray.length > 0 ? 'block' : 'none',
value={projRemindId} }}>
style={{ height: '31px', width: '130px', marginLeft: 20, display: showSearchBox ? 'block' : 'none' }} <Select
onChange={(value: string) => { allowClear
// console.log(`selected ${value}`); value={projRemindId}
setprojRemindId(value) style={{ height: '31px', width: '130px', marginLeft: 20, display: showSearchBox ? 'block' : 'none' }}
// alert(`selected ${value}`) onChange={(value: string) => {
// lyp // console.log(`selected ${value}`);
setprojRemindId(value)
// alert(`selected ${value}`)
// lyp
nav('/home', { nav('/home', {
state: { state: {
keyword: keywords, keyword: keywords,
type: type, type: type,
chargeAdditionals: chargeAdditionals, chargeAdditionals: chargeAdditionals,
tagDataId: tagDataId, tagDataId: tagDataId,
authorId: authorId, authorId: authorId,
payStatus: payStatus, payStatus: payStatus,
projRemindId: value projRemindId: value
} }
}) })
}} }}
options={ options={
remindTagArray remindTagArray
} }
placeholder={'选择提醒'} placeholder={'选择提醒'}
/> />
</div>
<Select <Select
allowClear allowClear
value={payStatus} value={payStatus}