@@ -29,7 +29,7 @@ const GlobalHeaderRight = (props) => {
return (
<div className={className}>
{/*<NoticeIconView />*/}
- <h3>{taskName}</h3>
+ <h3>{taskName || ''}</h3>
{/*<SelectLang className={styles.action}/>*/}
</div>
);
@@ -3,7 +3,7 @@ import { getExamInfo } from '@/pages/edit/service';
const ReportModel = {
namespace: 'report',
state: {
- taskName: {},
+ taskName: '',
},
effects: {
* getTaskName({ payload }, { call, put}){