mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-02 16:04:05 +00:00
fix #980 cannot read property 'map' of null
This commit is contained in:
@@ -73,7 +73,7 @@ function Completed({ data }) {
|
||||
return (
|
||||
<div className={styles.tooltip}>
|
||||
<p className={styles.tiptitle}>{content.label}</p>
|
||||
<ul>{list}</ul>
|
||||
{content.payload && <ul>{list}</ul>}
|
||||
</div>
|
||||
)
|
||||
}}
|
||||
|
||||
@@ -73,7 +73,7 @@ function Sales({ data }) {
|
||||
return (
|
||||
<div className={styles.tooltip}>
|
||||
<p className={styles.tiptitle}>{content.label}</p>
|
||||
<ul>{list}</ul>
|
||||
{content.payload && <ul>{list}</ul>}
|
||||
</div>
|
||||
)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user