mirror of
https://github.com/PlayEdu/backend
synced 2025-06-28 02:42:45 +08:00
数据结构重构优化
This commit is contained in:
parent
2348cfb54d
commit
c2fb5c2243
@ -69,7 +69,6 @@ export const SelectResource = (props: PropsInterface) => {
|
||||
maskClosable={false}
|
||||
onOk={() => {
|
||||
props.onSelected(selectKeys, selectVideos);
|
||||
console.log(selectKeys, selectVideos);
|
||||
setSelectKeys([]);
|
||||
setSelectVideos([]);
|
||||
}}
|
||||
|
@ -20,7 +20,7 @@ interface PropInterface {
|
||||
export const TreeDepartment = (props: PropInterface) => {
|
||||
const [treeData, setTreeData] = useState<any>([]);
|
||||
const [loading, setLoading] = useState<boolean>(true);
|
||||
const [selectKey, setSelectKey] = useState<any>([]);
|
||||
const [selectKey, setSelectKey] = useState<number[]>([]);
|
||||
const [userTotal, setUserTotal] = useState(0);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user