Skip to content

Commit

Permalink
fix: 问答主页tag
Browse files Browse the repository at this point in the history
  • Loading branch information
waiterxiaoyy committed Nov 18, 2024
1 parent 82bd842 commit 53fef5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/editor/src/pages/feedback/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ const FeedbackIndex: React.FC = () => {
{tabs.find((tab) => Number(tab.key) === item.type)?.label}
</Tag>
{
item.isSolve === 1 ? (
<Tag key={item.id + Math.random()} className={style.tag} color="success">
已解决
item.isSolve === 1 && (
<Tag key={item.id} className={style.tag} color="success">
{item.type === 1 ? '已解决' : '已采纳'}
</Tag>
) : null
)
}
</Space>
</div>
Expand Down

0 comments on commit 53fef5d

Please sign in to comment.