This commit is contained in:
hailin 2025-03-30 20:43:09 +08:00
parent 70a2f6075a
commit daa0864a1e
1 changed files with 2 additions and 5 deletions

View File

@ -474,14 +474,11 @@ const Article = () => {
const language = i18n.language
// const defCategories: TagItem[] = [
// { name: t("article.all"), value: "" }
// ]
const defCategories: TagItem[] = [
{ name: t("article.all"), value: "" }
]
const categoriesRef = useRef(defCategories);
const categoriesRef = useRef(defCategories);
const [initLoading, setInitLoading] = useState<boolean>(false);
const [initTags, setInitTags] = useState<boolean>(false);