Commit 7ea1f4d0 authored by chenshouchao's avatar chenshouchao

fix: MyCircularProgress组件逻辑修复

parent ff0421f5
......@@ -62,9 +62,6 @@ const MyCircularProgress = (props: IMyCircularProgressProps) => {
{children}
</div>
);
} else {
if (children) {
return children;
} else {
return (
<div
......@@ -102,10 +99,13 @@ const MyCircularProgress = (props: IMyCircularProgressProps) => {
</div>
);
}
}
} else {
if (children) {
return children;
} else {
return null;
}
}
};
export default MyCircularProgress;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment