提交 ebb9a482 编写于 作者: C chenshuai2144

🔧: increase code robustness

上级 207ce90a
......@@ -57,7 +57,7 @@ class GlobalHeaderRight extends Component<GlobalHeaderRightProps> {
} => {
const { notices = [] } = this.props;
if (notices.length === 0) {
if (!notices || notices.length === 0) {
return {};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册