nikogu 8 лет назад
Родитель
Сommit
3ab0043568
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/routes/Dashboard/Workplace.js

+ 2 - 1
src/routes/Dashboard/Workplace.js

@@ -151,7 +151,7 @@ export default class Workplace extends PureComponent {
               bodyStyle={{ padding: 0 }}
             >
               {
-                !projectLoading && notice.length > 0 && notice.map(item => (
+                notice.map(item => (
                   <Card.Grid className={styles.projectGrid} key={item.id}>
                     <Card bodyStyle={{ padding: 0 }} bordered={false}>
                       <Card.Meta
@@ -214,6 +214,7 @@ export default class Workplace extends PureComponent {
               style={{ marginBottom: 24 }}
               bordered={false}
               title="xx 指数"
+              loading={radarData.length === 0}
             >
               <div className={styles.chart}>
                 {