bugfix:修复警告错误
This commit is contained in:
@@ -138,9 +138,9 @@ const PopularKeywords = ({ onKeywordClick, keywords: propKeywords }) => {
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
{/* 所有标签 */}
|
{/* 所有标签 */}
|
||||||
{keywords.map((item) => (
|
{keywords.map((item, index) => (
|
||||||
<Tag
|
<Tag
|
||||||
key={item.concept_id}
|
key={item.concept_id || `keyword-${index}`}
|
||||||
color={getTagColor(item.change_pct)}
|
color={getTagColor(item.change_pct)}
|
||||||
style={{
|
style={{
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
|
|||||||
Reference in New Issue
Block a user