数据结构重构优化

This commit is contained in:
unknown
2023-08-07 10:41:57 +08:00
parent c2fb5c2243
commit 2a6e451417
14 changed files with 103 additions and 60 deletions

View File

@@ -17,7 +17,7 @@ export const VideoPlayDialog: React.FC<PropInterface> = ({
open,
onCancel,
}) => {
const [loading, setLoading] = useState<boolean>(true);
const [loading, setLoading] = useState(true);
useEffect(() => {
if (open && url) {