Commit 3ab00435 authored by nikogu's avatar nikogu

fixed card loaing

parent 0a62cb82
...@@ -151,7 +151,7 @@ export default class Workplace extends PureComponent { ...@@ -151,7 +151,7 @@ export default class Workplace extends PureComponent {
bodyStyle={{ padding: 0 }} bodyStyle={{ padding: 0 }}
> >
{ {
!projectLoading && notice.length > 0 && notice.map(item => ( notice.map(item => (
<Card.Grid className={styles.projectGrid} key={item.id}> <Card.Grid className={styles.projectGrid} key={item.id}>
<Card bodyStyle={{ padding: 0 }} bordered={false}> <Card bodyStyle={{ padding: 0 }} bordered={false}>
<Card.Meta <Card.Meta
...@@ -214,6 +214,7 @@ export default class Workplace extends PureComponent { ...@@ -214,6 +214,7 @@ export default class Workplace extends PureComponent {
style={{ marginBottom: 24 }} style={{ marginBottom: 24 }}
bordered={false} bordered={false}
title="xx 指数" title="xx 指数"
loading={radarData.length === 0}
> >
<div className={styles.chart}> <div className={styles.chart}>
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment