File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,12 @@ class Announcement extends Component {
54
54
</ ul >
55
55
) ;
56
56
57
- return (
57
+ return notices && notices . size > 0 && notices . toJS ( ) [ 0 ] . status === 1 ? (
58
58
< div className = "c-sidebar__module" >
59
- < div className = "c-sidebar__content" >
60
- { notices &&
61
- notices . size > 0 &&
62
- notices . toJS ( ) [ 0 ] . status === 1 &&
63
- list }
64
- </ div >
59
+ < div className = "c-sidebar__content" > { list } </ div >
65
60
</ div >
61
+ ) : (
62
+ < div />
66
63
) ;
67
64
}
68
65
}
Original file line number Diff line number Diff line change 308
308
"use_only_lowercase_letters" : " 只使用小写字母" ,
309
309
"use_one_dash" : " 只使用一个破折号" ,
310
310
"use_spaces_to_separate_tags" : " 使用空格分隔标签" ,
311
- "use_only_allowed_characters" : " 只使用小写字母、数字和一个破折号 " ,
311
+ "use_only_allowed_characters" : " 请使用小写字母、数字或破折号 " ,
312
312
"must_start_with_a_letter" : " 必须从一个字母开始" ,
313
313
"must_end_with_a_letter_or_number" : " 必须以字母或数字结尾"
314
314
},
You can’t perform that action at this time.
0 commit comments