This commit is contained in:
parent
daa0864a1e
commit
51c625524c
|
|
@ -249,7 +249,9 @@ export const TagsViews: React.FC<TagsViewsProps> = React.memo(({
|
||||||
marginBottom: '32px',
|
marginBottom: '32px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{categoriesRef.current.map((item, index) => (
|
{categoriesRef.current
|
||||||
|
.filter(item => item.name !== t("article.all")) // 过滤掉 'all' 标签
|
||||||
|
.map((item, index) => (
|
||||||
<button
|
<button
|
||||||
key={index}
|
key={index}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue