Commit eef8d600 authored by 徐乐's avatar 徐乐

perf: 修改加载loading组件默认1s前不显示

parent b31a4917
......@@ -5,7 +5,7 @@ import { Spin } from 'antd';
let timer = null;
const LoadBox = ({
delay,
delay = 1000,
indicator,
size,
tip,
......@@ -39,7 +39,7 @@ const LoadBox = ({
};
LoadBox.defaultProps = {
spinning: true,
delay: 0,
delay: 1000,
indicator: '',
size: 'default',
tip: '',
......
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