Commit 6098857f authored by 徐乐's avatar 徐乐

perf: 修改设备树组件loading延迟1s显示

parent c855e068
......@@ -127,7 +127,7 @@ const DeviceTree = (props) => {
/>
<Divider className={classNames(`${prefixCls}-divider`)} />
<div className={classNames(`${prefixCls}-content`)}>
<Spin spinning={loading}>
<Spin delay={1000} spinning={loading}>
{!!treeData.length && (
<Tree
checkedKeys={checkedKeys}
......
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