标签: javascript ecmascript-6
if(selectedDateValue!==''&&!isempty(selectedStaff)){ setshowSelectedStaffSection(true) } 其他{ setshowSelectedStaffSection(false) }
//或
setshowSelectedStaffSection(selectedDateValue!==''&&!isempty(selectedStaff));