This commit is contained in:
hailin 2025-03-30 21:28:58 +08:00
parent daa0864a1e
commit 51c625524c
1 changed files with 3 additions and 1 deletions

View File

@ -249,7 +249,9 @@ export const TagsViews: React.FC<TagsViewsProps> = React.memo(({
marginBottom: '32px',
}}
>
{categoriesRef.current.map((item, index) => (
{categoriesRef.current
.filter(item => item.name !== t("article.all")) // 过滤掉 'all' 标签
.map((item, index) => (
<button
key={index}
onClick={() => {