分类、部门组件点击全部取消选中状态修复

This commit is contained in:
禺狨
2023-03-15 14:28:13 +08:00
parent b54bf7646e
commit 7d253ef888
5 changed files with 24 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ export const CoursePage = () => {
const [category_ids, setCategoryIds] = useState<any>([]);
const [title, setTitle] = useState<string>("");
const [dep_ids, setDepIds] = useState<any>([]);
const [selLabel, setLabel] = useState<string>("全部视频");
const [selLabel, setLabel] = useState<string>("全部课程");
const [categoryCount, setCategoryCount] = useState<any>({});
const items: TabsProps["items"] = [