dev_forum
hjm 5 years ago
parent bcfe17712f
commit a97c4f9d82

@ -402,6 +402,7 @@ class AccountBasic extends Component {
filterDepartments, filterDepartments,
school, school,
school_id, school_id,
departments,
departmentsName, departmentsName,
identity identity
}=this.state; }=this.state;
@ -718,7 +719,9 @@ class AccountBasic extends Component {
</Form.Item> </Form.Item>
{ {
(!filterDepartments || (filterDepartments && filterDepartments.length==0 ) || (departmentsName == '' && !this.state.department_id)) && (!filterDepartments || (filterDepartments && filterDepartments.length==0 )
|| (departmentsName == '' && !this.state.department_id
&& (!departments || departments.length == 0) )) &&
<div style={{marginLeft: '113px',height:"20px",lineHeight:"20px"}}> <div style={{marginLeft: '113px',height:"20px",lineHeight:"20px"}}>
<span> <span>
<span style={{color: '#CDCDCD'}}>{departmentsName ? `未找到包含“${departmentsName}”的院系/部门` : '未找到院系'}</span> <span style={{color: '#CDCDCD'}}>{departmentsName ? `未找到包含“${departmentsName}”的院系/部门` : '未找到院系'}</span>

Loading…
Cancel
Save